DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomImage Class / Angle Property






In This Topic
    Angle Property (DicomImage)
    In This Topic
    Controls the rotation of an image
    Syntax
    'Declaration
     
    
    Public Property Angle As System.Single
    'Usage
     
    
    Dim instance As DicomImage
    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

    If set to anything other than 0, then (MagnificationMode and MinificationMode, are handled internally as if they were set to DicomObjects.Enums.FilterMode.Gpu

    The centre of rotation is the centre of the original image

    The angle is measured in degrees, and clockwise

    As for all other display features, the Scroll values continue to work in screen units and relative to the screen axes, and hence are applied after rotation

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also