DicomObjects.NET.V8
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 Single
    'Usage
     
    Dim instance As DicomImage
    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

    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.0 or higher

    See Also