CustomEffectAdapter.GetBitmapAsync Method
Creates a Bitmap from the contents of the image provider.
Namespace: Lumia.Imaging.Custom
Assembly: Lumia.Imaging (in Lumia.Imaging.dll) Version: 255.255.255.255
Syntax
public IAsyncOperation<Bitmap> GetBitmapAsync(
Bitmap bitmap,
OutputOption outputOption
)
'Declaration
Public Function GetBitmapAsync (
bitmap As Bitmap,
outputOption As OutputOption
) As IAsyncOperation(Of Bitmap)
public:
virtual IAsyncOperation<Bitmap^>^ GetBitmapAsync(
[InAttribute] Bitmap^ bitmap,
[InAttribute] OutputOption outputOption
) sealed
function GetBitmapAsync(bitmap, outputOption);
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