DicomObjects.NET8 Documentation
DicomObjects Namespace / DicomLabel Class / ScaledAngle Method
The Image where the Label is drawn on



In This Topic
    ScaledAngle Method
    In This Topic
    Returns the line angle of the DicomLabel. Image Pixel Aspect Ratio is automatically taken into account.
    Syntax
    'Declaration
     
    
    Public Function ScaledAngle( _
       ByVal img As DicomImage _
    ) As Single
    'Usage
     
    
    Dim instance As DicomLabel
    Dim img As DicomImage
    Dim value As Single
     
    value = instance.ScaledAngle(img)
    public float ScaledAngle( 
       DicomImage img
    )
    public:
    float ScaledAngle( 
       DicomImage^ img
    ) 

    Parameters

    img
    The Image where the Label is drawn on

    Return Value

    The angle of the line
    Remarks
    The angle returned is measued counterclockwise from a line pointing to the right, and uses the range -π to +π (equivalent to -180º to +180º)
    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