VintaSoft Imaging .NET SDK 12.3: Documentation for .NET developer
Vintasoft.Imaging.Annotation Namespace / RulersAnnotationData Class / Length Property
Syntax Remarks Requirements SeeAlso
In This Topic
    Length Property (RulersAnnotationData)
    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; }
    
    
    [Description("The length, in units specified in the UnitOfMeasure, of annotation. If the UnitOfMeasure is Pixels, always returns 0.")]
    public: __property float get_Length();
    
    
    
    [Description("The length, in units specified in the UnitOfMeasure, of annotation. If the UnitOfMeasure is Pixels, always returns 0.")]
    public:
    property float Length { float 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 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also