VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Annotation Namespace / RulerAnnotationData Class / GetLengthInPixels(Resolution) Method
Syntax Requirements SeeAlso
In This Topic
    GetLengthInPixels(Resolution) Method (RulerAnnotationData)
    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
    )
    public: float GetLengthInPixels(
    Vintasoft.Imaging.Resolution resolution
    )
    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 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also