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

    This method draws object after the PointTransform is applied to the DrawingContext, specified by context parameter.

    By default this method does not do anything.

    Requirements

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

    See Also