VintaSoft Imaging .NET SDK 14.1: Documentation for .NET developer
Vintasoft.Imaging.Annotation.Dicom.Wpf.UI Namespace / WpfDicomRulerAnnotationView Class / GetLength(Point,Point,Resolution,UnitOfMeasure) Method
Syntax Requirements SeeAlso
    GetLength(Point,Point,Resolution,UnitOfMeasure) Method (WpfDicomRulerAnnotationView)
    Returns the length in the pixels.
    Syntax
    'Declaration
    
    Protected Overridable Function GetLength( _
    ByVal firstPoint
    The first point in pixels.
    As System.Windows.Point, _
    ByVal secondPoint
    The second point in pixels.
    As System.Windows.Point, _
    ByVal resolution
    The resolution.
    As Vintasoft.Imaging.Resolution, _
    ByVal unitOfMeasure
    Unit of measure of result.
    As Vintasoft.Imaging.UnitOfMeasure _
    ) As Double
     

    Parameters

    firstPoint
    The first point in pixels.
    secondPoint
    The second point in pixels.
    resolution
    The resolution.
    unitOfMeasure
    Unit of measure of result.

    Return Value

    The length in pixels.
    Requirements

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

    See Also