DicomObjects.NET.8.48 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 System.Single
    'Usage
     
    
    Dim instance As DicomLabel
    Dim value As System.Single
     
    instance.Angle = value
     
    value = instance.Angle
    public System.float Angle {get; set;}
    public read-write property Angle: System.Single; 
    public function get,set Angle : System.float
    public: __property System.float get_Angle();
    public: __property void set_Angle( 
       System.float value
    );
    public:
    property System.float Angle {
       System.float get();
       void set (    System.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.8 or higher

    See Also