VintaSoft Imaging .NET SDK 15.1: Документация для .NET разработчика
Vintasoft.Imaging.Annotation.UI Namespace / RulersAnnotationView Class / Length Property
Синтаксис Ремарки Требования Смотрите также
В этом разделе
Length Свойство (RulersAnnotationView)
В этом разделе
Возвращает длину в единицах, указанных в UnitOfMeasure.
Синтаксис
'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

Длина в единицах, указанных в UnitOfMeasure, или 0, если значение свойства UnitOfMeasure установлено в UnitOfMeasure.Pixels.
Ремарки

Если значение свойства UnitOfMeasure установлено в UnitOfMeasure.Pixels, используйте метод GetLengthInPixels(Resolution), чтобы получить текущую длину в пикселях.

Требования

Целевые платформы: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

Смотрите также