ComponentOne Bitmap for WPF
C1.WPF.Bitmap.4.5.2 Assembly / C1.WPF.Bitmap Namespace / C1Bitmap Class / Import Method / Import(Bitmap1,DeviceContext,RectL) Method
The source D2D.Bitmap1 image.
The device context used to create a D2D bitmap.
The source rectangle within d2dBitmap.

In This Topic
    Import(Bitmap1,DeviceContext,RectL) Method
    In This Topic
    Loads the image from a D2D.Bitmap1.
    Syntax
    'Declaration
     
    Public Overloads Sub Import( _
       ByVal d2dBitmap As Bitmap1, _
       ByVal context As DeviceContext, _
       ByVal srcRect As RectL _
    ) 
    public void Import( 
       Bitmap1 d2dBitmap,
       DeviceContext context,
       RectL srcRect
    )

    Parameters

    d2dBitmap
    The source D2D.Bitmap1 image.
    context
    The device context used to create a D2D bitmap.
    srcRect
    The source rectangle within d2dBitmap.
    See Also