VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Wpf.UI.VisualTools.GraphicObjects Namespace / WpfGraphicObjectGroup Class / RenderInViewerSpace(WpfImageViewer,DrawingContext) Method
Syntax Remarks Requirements SeeAlso
In This Topic
    RenderInViewerSpace(WpfImageViewer,DrawingContext) Method (WpfGraphicObjectGroup)
    In This Topic
    Renders the object on specified System.Windows.Media.DrawingContext in the viewer space.
    Syntax
    'Declaration
    
    Public Overrides 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 override void RenderInViewerSpace(
    Vintasoft.Imaging.Wpf.UI.WpfImageViewer viewer,
    System.Windows.Media.DrawingContext context
    )
    public: void RenderInViewerSpace(
    Vintasoft.Imaging.Wpf.UI.WpfImageViewer* viewer,
    System.Windows.Media.DrawingContext context
    ); override
    public:
    void RenderInViewerSpace(
    Vintasoft.Imaging.Wpf.UI.WpfImageViewer^ viewer,
    System.Windows.Media.DrawingContext context
    ); override

    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