VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Wpf Namespace / VintasoftImageRenderer Class / Draw Methods / Draw(VintasoftImage,DrawingContext,Rect,Rect) Method
Syntax Requirements SeeAlso
In This Topic
    Draw(VintasoftImage,DrawingContext,Rect,Rect) Method (VintasoftImageRenderer)
    In This Topic
    Draws the specified rectangular area of VintasoftImage on the specified rectangular area of System.Windows.Media.DrawingContext.
    Syntax
    'Declaration
    
    Public Overloads Shared Sub Draw( _
    ByVal image
    Image to draw.
    As Vintasoft.Imaging.VintasoftImage, _
    ByVal drawingContext
    Drawing context where image should be drawn.
    As System.Windows.Media.DrawingContext, _
    ByVal sourceRect
    The rectangular area, in pixels, of image to draw.
    As System.Windows.Rect, _
    ByVal destRect
    The rectangular area, in device-independent pixels (1/96th inch), of device context where image should be drawn.
    As System.Windows.Rect _
    )

    Parameters

    image
    Image to draw.
    drawingContext
    Drawing context where image should be drawn.
    sourceRect
    The rectangular area, in pixels, of image to draw.
    destRect
    The rectangular area, in device-independent pixels (1/96th inch), of device context where image should be drawn.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also