DicomObjects.NET8 Documentation
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: 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