ComponentOne Bitmap for WinForms
C1.Win.Bitmap.4.8 Assembly / C1.Win.Bitmap Namespace / C1Bitmap Class / ImportAsFragment Method / ImportAsFragment(Bitmap1,DeviceContext,RectL,Int32,Int32) Method
The source D2D.Bitmap1.
The device context used to create a D2D bitmap.
The source rectangle within d2dBitmap.
The destination X pixel coordinate within the target bitmap.
The destination Y pixel coordinate within the target bitmap.

In This Topic
    ImportAsFragment(Bitmap1,DeviceContext,RectL,Int32,Int32) Method
    In This Topic
    Loads a fragment of the D2D.Bitmap1 to the given destination within the image.
    Syntax
    'Declaration
     
    Public Overloads Sub ImportAsFragment( _
       ByVal d2dBitmap As Bitmap1, _
       ByVal context As DeviceContext, _
       ByVal srcRect As RectL, _
       ByVal dstX As System.Integer, _
       ByVal dstY As System.Integer _
    ) 
    public void ImportAsFragment( 
       Bitmap1 d2dBitmap,
       DeviceContext context,
       RectL srcRect,
       System.int dstX,
       System.int dstY
    )

    Parameters

    d2dBitmap
    The source D2D.Bitmap1.
    context
    The device context used to create a D2D bitmap.
    srcRect
    The source rectangle within d2dBitmap.
    dstX
    The destination X pixel coordinate within the target bitmap.
    dstY
    The destination Y pixel coordinate within the target bitmap.
    See Also