VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.UI Namespace / ImageViewer Class / DrawViewer Methods / DrawViewer(Graphics,RectangleF,RectangleF,Boolean,Boolean) Method
Syntax Requirements SeeAlso
In This Topic
    DrawViewer(Graphics,RectangleF,RectangleF,Boolean,Boolean) Method (ImageViewer)
    In This Topic
    Draws the viewer on the specified System.Drawing.Graphics.
    Syntax
    'Declaration
    
    Public Overloads Sub DrawViewer( _
    ByVal g
    The System.Drawing.Graphics, where viewer must be drawn.
    As System.Drawing.Graphics, _
    ByVal sourceRect
    A source rectangle on the viewer.
    As System.Drawing.RectangleF, _
    ByVal destRect
    A rectangle on System.Drawing.Graphics, where viewer must be drawn.
    As System.Drawing.RectangleF, _
    ByVal drawBackground
    A value indicating whether the viewer background must be drawn on System.Drawing.Graphics.
    As Boolean, _
    ByVal drawVisualTools
    A value indicating whether the visual tools must be drawn on System.Drawing.Graphics.
    As Boolean _
    )

    Parameters

    g
    The System.Drawing.Graphics, where viewer must be drawn.
    sourceRect
    A source rectangle on the viewer.
    destRect
    A rectangle on System.Drawing.Graphics, where viewer must be drawn.
    drawBackground
    A value indicating whether the viewer background must be drawn on System.Drawing.Graphics.
    drawVisualTools
    A value indicating whether the visual tools must be drawn on System.Drawing.Graphics.
    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