VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging Namespace / ImageViewerDrawingSurface Class / Draw Method
The System.Drawing.Graphics where surface should be drawn.
The rectangle on drawing surface.
The rectangle on graphics.



In This Topic
    Draw Method (ImageViewerDrawingSurface)
    In This Topic
    Draws the drawing surface on specified System.Drawing.Graphics.
    Syntax
    'Declaration
     
    Public Overrides Sub Draw( _
       ByVal g As Graphics, _
       ByVal sourceRect As RectangleF, _
       ByVal destRect As RectangleF _
    ) 
    public override void Draw( 
       Graphics g,
       RectangleF sourceRect,
       RectangleF destRect
    )
    public: void Draw( 
       Graphics* g,
       RectangleF sourceRect,
       RectangleF destRect
    ) override 
    public:
    void Draw( 
       Graphics^ g,
       RectangleF sourceRect,
       RectangleF destRect
    ) override 

    Parameters

    g
    The System.Drawing.Graphics where surface should be drawn.
    sourceRect
    The rectangle on drawing surface.
    destRect
    The rectangle on 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