VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Wpf.UI.VisualTools.GraphicObjects Namespace / WpfGraphicObject Class / RenderInViewerSpace(WpfImageViewer,DrawingContext) Method
Syntax Remarks Requirements SeeAlso
In This Topic
    RenderInViewerSpace(WpfImageViewer,DrawingContext) Method (WpfGraphicObject)
    In This Topic
    Renders the object on specified System.Windows.Media.DrawingContext in the viewer space.
    Syntax
    'Declaration
    
    Public Overridable Sub RenderInViewerSpace( _
    ByVal viewer
    An image viewer.
    As Vintasoft.Imaging.Wpf.UI.WpfImageViewer, _
    ByVal context
    A drawing context where the object must be rendered.
    As System.Windows.Media.DrawingContext _
    )
    public virtual void RenderInViewerSpace(
    Vintasoft.Imaging.Wpf.UI.WpfImageViewer viewer,
    System.Windows.Media.DrawingContext context
    )
    public: virtual void RenderInViewerSpace(
    Vintasoft.Imaging.Wpf.UI.WpfImageViewer* viewer,
    System.Windows.Media.DrawingContext context
    )
    public:
    virtual void RenderInViewerSpace(
    Vintasoft.Imaging.Wpf.UI.WpfImageViewer^ viewer,
    System.Windows.Media.DrawingContext context
    )

    Parameters

    viewer
    An image viewer.
    context
    A drawing context where the object must be rendered.
    Remarks

    By default this method applies the PointTransform (if specified) to the DrawingContext, specified by context parameter, and draws object on the Graphics.

    Requirements

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

    See Also