DicomObjects.NetStandard Documentation
DicomObjects Namespace / DicomLabel Class / Anchor Property



In This Topic
    Anchor Property
    In This Topic
    A pair of coordinates (x, y) of an visible anchor point for a text label
    Syntax
    'Declaration
     
    
    Public Property Anchor As SkiaSharp.SKPoint
    'Usage
     
    
    Dim instance As DicomLabel
    Dim value As SkiaSharp.SKPoint
     
    instance.Anchor = value
     
    value = instance.Anchor
    public SkiaSharp.SKPoint Anchor {get; set;}
    public:
    property SkiaSharp.SKPoint Anchor {
       SkiaSharp.SKPoint get();
       void set (    SkiaSharp.SKPoint value);
    }
    Remarks

    Anchor comprises the x and y coordinates, which are now floating numbers in .NET version, and only applies to text labels.

    If ShowAnchor is true, then a line is drawn from the border of the text label to a point in the image indicated by these coordinates.

    If AnchorScaleMode is set to Image, then the anchor point is transformed with the image exactly the same way that the label itself is if ScaleMode is set to Image.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also