DicomObjects.NET.V8
DicomObjects Namespace / DicomLabel Class / Angle Property



In This Topic
    Angle Property (DicomLabel)
    In This Topic
    Angle to rotate Label (Clockwise)
    Syntax
    'Declaration
     
    Public Property Angle As Single
    'Usage
     
    Dim instance As DicomLabel
    Dim value As Single
     
    instance.Angle = value
     
    value = instance.Angle
    public float Angle {get; set;}
    public:
    property float Angle {
       float get();
       void set (    float value);
    }
    Remarks

    The label is rotated around its centre after any transformations due to ImageTied have been applied.

    This property only applies to labels of type rectangle, ellipse and text

    If RotateTextWithImage is true, and the label is of type text, then:

    • For display, this angle is added to the rotation of the image.
    • This angle is modified when Rescale is called, so as to preserve the relationship between the text and the image
    Requirements

    Target Platforms: .NET CLR 4.0 or higher

    See Also