VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Annotation.Wpf.UI Namespace / WpfRulersAnnotationView Class / Length Property
Syntax Remarks Requirements SeeAlso
In This Topic
Length Property (WpfRulersAnnotationView)
In This Topic
Gets the length in units specified in the UnitOfMeasure.
Syntax
'Declaration

<DescriptionAttribute("The length, in units specified in the UnitOfMeasure, of annotation. If the UnitOfMeasure is Pixels, always returns 0.")>
Public ReadOnly Property Length As Single

[Description("The length, in units specified in the UnitOfMeasure, of annotation. If the UnitOfMeasure is Pixels, always returns 0.")]
public float Length { get; }

Property Value

Length in units specified in the UnitOfMeasure, or 0 if value of the UnitOfMeasure property is set to UnitOfMeasure.Pixels.
Remarks

If value of the UnitOfMeasure property is set to UnitOfMeasure.Pixels, use the GetLengthInPixels(Resolution) method to get current length 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