DicomObjects.NET.V8
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: .NET CLR 4.0 or higher

    See Also