VintaSoft Imaging .NET SDK v8.7
Vintasoft.Imaging.Annotation Namespace / RulerAnnotationData Class / Length Property



In This Topic
    Length Property (RulerAnnotationData)
    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 method to get current length 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