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

In This Topic
    ExportFragment(WriteableBitmap,ImageRect) Method
    In This Topic
    Copies a fragment of the image to the given WriteableBitmap.
    Syntax
    'Declaration
     
    Public Overloads Sub ExportFragment( _
       ByVal writeableBitmap As WriteableBitmap, _
       ByVal srcRect As ImageRect _
    ) 
    public void ExportFragment( 
       WriteableBitmap writeableBitmap,
       ImageRect srcRect
    )

    Parameters

    writeableBitmap
    The destination WriteableBitmap.
    srcRect
    The source rectangle within the image.
    See Also