다음을 통해 공유


PictureWriterExtensions.SaveAsBytesAsync(IPictureWriter, IPicture) Method

Definition

public:
[System::Runtime::CompilerServices::Extension]
 static System::Threading::Tasks::Task<cli::array <System::Byte> ^> ^ SaveAsBytesAsync(Microsoft::Maui::Graphics::IPictureWriter ^ target, Microsoft::Maui::Graphics::IPicture ^ picture);
public static System.Threading.Tasks.Task<byte[]> SaveAsBytesAsync (this Microsoft.Maui.Graphics.IPictureWriter target, Microsoft.Maui.Graphics.IPicture picture);
static member SaveAsBytesAsync : Microsoft.Maui.Graphics.IPictureWriter * Microsoft.Maui.Graphics.IPicture -> System.Threading.Tasks.Task<byte[]>
<Extension()>
Public Function SaveAsBytesAsync (target As IPictureWriter, picture As IPicture) As Task(Of Byte())

Parameters

picture
IPicture

Returns

Task<Byte[]>

Applies to