DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomLabel Class / RotationMode Property






In This Topic
    RotationMode Property
    In This Topic
    Controls the rotation behaviour of a label.
    Syntax
    'Declaration
     
    
    Public Property RotationMode As RotationMode
    'Usage
     
    
    Dim instance As DicomLabel
    Dim value As RotationMode
     
    instance.RotationMode = value
     
    value = instance.RotationMode
    public RotationMode RotationMode {get; set;}
    public read-write property RotationMode: RotationMode; 
    public function get,set RotationMode : RotationMode
    public: __property RotationMode get_RotationMode();
    public: __property void set_RotationMode( 
       RotationMode value
    );
    public:
    property RotationMode RotationMode {
       RotationMode get();
       void set (    RotationMode value);
    }
    Remarks

    If a DicomImage is rotated (either by use of an explicit Angle, or by use of RotateState, and if the ScaleMode is Image then this property controls whether the label rotates with the underlying image, or whether its base rotation remains upright.

    In either case, the label may still be rotated, relative to that base rotation using the label's Angle property

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also