VintaSoft Imaging .NET SDK v8.7
Vintasoft.Imaging.Annotation Namespace / RulerAnnotationData Class / GetLengthInPixels Method
Resolution of image where the length is measuring.



In This Topic
    GetLengthInPixels Method (RulerAnnotationData)
    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: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also