VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.UI Namespace / ImageViewer Class / DrawViewer Method
System.Drawing.Graphics to draw this viewer.
Source rectangle on the viewer.
Rectangle on a graphics.



In This Topic
    DrawViewer Method (ImageViewer)
    In This Topic
    Draws the viewer on the specified System.Drawing.Graphics.
    Syntax
    'Declaration
     
    Public Sub DrawViewer( _
       ByVal g As Graphics, _
       ByVal sourceRect As RectangleF, _
       ByVal destRect As RectangleF _
    ) 
    public void DrawViewer( 
       Graphics g,
       RectangleF sourceRect,
       RectangleF destRect
    )
    public: void DrawViewer( 
       Graphics* g,
       RectangleF sourceRect,
       RectangleF destRect
    ) 
    public:
    void DrawViewer( 
       Graphics^ g,
       RectangleF sourceRect,
       RectangleF destRect
    ) 

    Parameters

    g
    System.Drawing.Graphics to draw this viewer.
    sourceRect
    Source rectangle on the viewer.
    destRect
    Rectangle on a graphics.
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also