ImageGear22.Art Assembly > ImageGear.ART Namespace > ImGearARTRuler Class : MeasurementUnit Property |
'Declaration Public Property MeasurementUnit As ImGearARTMeasurementUnit
'Usage Dim instance As ImGearARTRuler Dim value As ImGearARTMeasurementUnit instance.MeasurementUnit = value value = instance.MeasurementUnit
public ImGearARTMeasurementUnit MeasurementUnit {get; set;}
public: __property ImGearARTMeasurementUnit get_MeasurementUnit(); public: __property void set_MeasurementUnit( ImGearARTMeasurementUnit value );
public: property ImGearARTMeasurementUnit MeasurementUnit { ImGearARTMeasurementUnit get(); void set ( ImGearARTMeasurementUnit value); }
Note: The annotation must be added to the ImGearARTPage prior to using this property.
Note: If the AspectKind is ImGearARTAspectKind.Absolute, please initialize Resolution prior to using this property, otherwise ImageGear.Core.ImGearException will be thrown. The resolution is necessary for initialization of Aspect properties in Absolute mode.