VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Annotation Namespace / RulersAnnotationData Class / GetLengthInPixels(Resolution) Method
Syntax Requirements SeeAlso
In This Topic
GetLengthInPixels(Resolution) Method (RulersAnnotationData)
In This Topic
Calculates the length of annotation, in pixels, using specified resolution of image.
Syntax
'Declaration

Public Function GetLengthInPixels( _
ByVal resolution
Resolution of image where the length is measuring.
As Vintasoft.Imaging.Resolution _
) As Single
public float GetLengthInPixels(
Vintasoft.Imaging.Resolution resolution
)

Parameters

resolution
Resolution of image where the length is measuring.

Return Value

Length of annotation, in pixels.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also