VintaSoft Imaging .NET SDK v9.1 for .NET (.NET Core and .NET Framework)
Vintasoft.Imaging.Annotation Namespace / RulersAnnotationData Class / GetLengthInPixels Method
Resolution of image where the length is measuring.



In This Topic
    GetLengthInPixels Method (RulersAnnotationData)
    In This Topic
    Calculates the length of annotation, in pixels, using specified resolution of image.
    Syntax
    'Declaration
     
    Public Function GetLengthInPixels( _
       ByVal resolution As Resolution _
    ) As Single
    public float GetLengthInPixels( 
       Resolution resolution
    )
    public: float GetLengthInPixels( 
       Resolution resolution
    ) 
    public:
    float GetLengthInPixels( 
       Resolution resolution
    ) 

    Parameters

    resolution
    Resolution of image where the length is measuring.

    Return Value

    Length of annotation, in pixels.
    Requirements

    Target Platforms: .NET Core 3; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also