EffectGroupBase.IImageProvider.GetBitmapAsync Method
Creates a Bitmap from the contents of the image provider.
Namespace: Lumia.Imaging.Custom
Assembly: Lumia.Imaging.Managed (in Lumia.Imaging.Managed.dll) Version: 0.0.0.0
Syntax
IAsyncOperation<Bitmap> IImageProvider.GetBitmapAsync(
Bitmap bitmap,
OutputOption outputOption
)
'Declaration
Private Function GetBitmapAsync (
bitmap As Bitmap,
outputOption As OutputOption
) As IAsyncOperation(Of Bitmap) Implements IImageProvider.GetBitmapAsync
private:
virtual IAsyncOperation<Bitmap^>^ GetBitmapAsync(
Bitmap^ bitmap,
OutputOption outputOption
) sealed = IImageProvider::GetBitmapAsync
JavaScript does not support explicit interface implementations.
Parameters
- bitmap
Type: Lumia.Imaging.Bitmap
An input Bitmap to fill. If null, a Bitmap will be created and returned.
- outputOption
Type: Lumia.Imaging.OutputOption
Specifies how to adjust if the source image has different aspect ratio from the Bitmap passed into this method.
Return Value
Type: IAsyncOperation<Bitmap>
An async result with the Bitmap.
Implements
IImageProvider.GetBitmapAsync(Bitmap, OutputOption)
Version Information
Lumia Imaging SDK
Supported in: 2.0