DicomObjects.NET.8.48 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 System.Single
    'Usage
     
    
    Dim instance As DicomLabel
    Dim img As DicomImage
    Dim value As System.Single
     
    value = instance.ScaledAngle(img)
    public System.float ScaledAngle( 
       DicomImage img
    )
    public function ScaledAngle( 
        img: DicomImage
    ): System.Single; 
    public function ScaledAngle( 
       img : DicomImage
    ) : System.float;
    public: System.float ScaledAngle( 
       DicomImage* img
    ) 
    public:
    System.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.8 or higher

    See Also