[]
        
(Showing Draft Content)

C1.WPF.Bitmap.C1Bitmap.ToWriteableBitmap

ToWriteableBitmap Method

ToWriteableBitmap()

Creates a WriteableBitmap from the image.

Declaration
public WriteableBitmap ToWriteableBitmap()
Returns
Type Description
WriteableBitmap

ToWriteableBitmap(ImageRect)

Creates a WriteableBitmap from a part of the image.

Declaration
public WriteableBitmap ToWriteableBitmap(ImageRect srcRect)
Parameters
Type Name Description
ImageRect srcRect

The source rectangle within the image.

Returns
Type Description
WriteableBitmap