DicomObjects.NET.V8
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 PointF
    'Usage
     
    Dim instance As DicomLabel
    Dim value As PointF
     
    instance.Anchor = value
     
    value = instance.Anchor
    public PointF Anchor {get; set;}
    public:
    property PointF Anchor {
       PointF get();
       void set (    PointF 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: .NET CLR 4.0 or higher

    See Also