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