VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.Wpf.UI Namespace / WpfImageViewer Class / DrawViewer Method
Vintasoft.Imaging.VintasoftImage to draw this viewer.
Source rectangle on the viewer.
Rectangle on a drawing context.



In This Topic
    DrawViewer Method (WpfImageViewer)
    In This Topic
    Draws the viewer on specified System.Windows.Media.DrawingContext.
    Syntax
    'Declaration
     
    Public Sub DrawViewer( _
       ByVal image As VintasoftImage, _
       ByVal sourceRect As Rect, _
       ByVal destRect As Rect _
    ) 
    public void DrawViewer( 
       VintasoftImage image,
       Rect sourceRect,
       Rect destRect
    )
    public: void DrawViewer( 
       VintasoftImage* image,
       Rect sourceRect,
       Rect destRect
    ) 
    public:
    void DrawViewer( 
       VintasoftImage^ image,
       Rect sourceRect,
       Rect destRect
    ) 

    Parameters

    image
    Vintasoft.Imaging.VintasoftImage to draw this viewer.
    sourceRect
    Source rectangle on the viewer.
    destRect
    Rectangle on a drawing context.
    Requirements

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

    See Also