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



ScaledAngle Method
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)

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