Reference Guide
GdPicture14.Annotations Namespace / AnnotationRuler Class / MeasurementUnit Property





In This Topic
    MeasurementUnit Property (AnnotationRuler)
    In This Topic
    Defines the measurement unit used. If set to Custom, the value of the MeasurementUnitCustomString property will be used as prefix into the annotation appearance, and the distance will be computed with this formula: distance = inche distance * Scale.
    Syntax
    'Declaration
     
    
    Public Shadows Property MeasurementUnit As Annotation.UnitMode
    public new Annotation.UnitMode MeasurementUnit {get; set;}
    public read-write property MeasurementUnit: Annotation.UnitMode; 
    public hide function get,set MeasurementUnit : Annotation.UnitMode
    public: __property new Annotation.UnitMode get_MeasurementUnit();
    public: __property new void set_MeasurementUnit( 
       Annotation.UnitMode value
    );
    public:
    new property Annotation.UnitMode MeasurementUnit {
       Annotation.UnitMode get();
       void set (    Annotation.UnitMode value);
    }
    See Also