Document Solutions for PDF
DS.Documents.DX.Windows Assembly / GrapeCity.Documents.DX.Direct2D Namespace / CommandSinkNative Class / DrawImage Method

In This Topic
    DrawImage Method (CommandSinkNative)
    In This Topic
    HRESULT ID2D1CommandSink::DrawImage([In] ID2D1Image* image,[In, Optional] const D2D_POINT_2F* targetOffset,[In, Optional] const D2D_RECT_F* imageRectangle,[In] D2D1_INTERPOLATION_MODE interpolationMode,[In] D2D1_COMPOSITE_MODE compositeMode)
    Syntax
    'Declaration
     
    Public Sub DrawImage( _
       ByVal image As Image, _
       ByVal targetOffset As System.Nullable(Of Point2F), _
       ByVal imageRectangle As System.Nullable(Of RectF), _
       ByVal interpolationMode As InterpolationMode, _
       ByVal compositeMode As CompositeMode _
    ) 
    public void DrawImage( 
       Image image,
       System.Nullable<Point2F> targetOffset,
       System.Nullable<RectF> imageRectangle,
       InterpolationMode interpolationMode,
       CompositeMode compositeMode
    )

    Parameters

    image
    targetOffset
    imageRectangle
    interpolationMode
    compositeMode
    See Also