ComponentOne Bitmap for UWP
C1.UWP.Bitmap Assembly / C1.Xaml.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 Windows.UI.Xaml.Media.Imaging.WriteableBitmap
    public Windows.UI.Xaml.Media.Imaging.WriteableBitmap ToWriteableBitmap( 
       ImageRect srcRect
    )

    Parameters

    srcRect
    The source rectangle within the image.
    See Also