ComponentOne Bitmap for WPF
C1.WPF.Bitmap.4.5.2 Assembly / C1.WPF.Bitmap Namespace / C1Bitmap Class / ToWriteableBitmap Method / ToWriteableBitmap(ImageRect) Method
The source rectangle within the image.

In This Topic
    ToWriteableBitmap(ImageRect) Method
    In This Topic
    Creates a WriteableBitmap from a part of the image.
    Syntax
    'Declaration
     
    Public Overloads Function ToWriteableBitmap( _
       ByVal srcRect As ImageRect _
    ) As WriteableBitmap
    public WriteableBitmap ToWriteableBitmap( 
       ImageRect srcRect
    )

    Parameters

    srcRect
    The source rectangle within the image.
    See Also