Bitmap Constructor (Bitmap, Rect)

Creates a Bitmap that points to the same image data as another Bitmap, cropped to a smaller rectangle.

Namespace: Lumia.Imaging
Assembly: Lumia.Imaging (in Lumia.Imaging.dll) Version: 255.255.255.255

Lumia.Imaging.Bitmap = function(sourceBitmap, cropArea);

Parameters

sourceBitmap
Type: Lumia.Imaging.Bitmap
a Bitmap
cropArea
Type: Windows.Foundation.Rect
Crop area rectangle. Must fit within dimensions of sourceBitmap.

Lumia Imaging SDK

Supported in: 3.0, 2.0
Show: