PictureWriterExtensions.SaveAsBytes(IPictureWriter, IPicture) Method

Definition

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

Parameters

picture
IPicture

Returns

Byte[]

Applies to