共用方式為


PictureWriterExtensions.SaveAsStream(IPictureWriter, IPicture) Method

Definition

public:
[System::Runtime::CompilerServices::Extension]
 static System::IO::Stream ^ SaveAsStream(Microsoft::Maui::Graphics::IPictureWriter ^ target, Microsoft::Maui::Graphics::IPicture ^ picture);
public static System.IO.Stream SaveAsStream (this Microsoft.Maui.Graphics.IPictureWriter target, Microsoft.Maui.Graphics.IPicture picture);
static member SaveAsStream : Microsoft.Maui.Graphics.IPictureWriter * Microsoft.Maui.Graphics.IPicture -> System.IO.Stream
<Extension()>
Public Function SaveAsStream (target As IPictureWriter, picture As IPicture) As Stream

Parameters

picture
IPicture

Returns

Applies to