ImageGear for .NET
MeasurementUnit Property
See Also  Send Feedback
ImageGear21.Art Assembly > ImageGear.ART Namespace > ImGearARTRuler Class : MeasurementUnit Property




Glossary Item Box

Gets or sets the measurement unit of the Ruler.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Property Value

ImGearARTMeasurementUnit value.

Remarks

The getter returns either instance of some predefined measurement unit, associated with currently initialized AspectNumeratorX, AspectDenominatorX, AspectNumeratorY and AspectDenominatorY values, or instance of the ImGearARTMeasurementUnit with Name equal to "Custom" and Aspect values, initialized from corresponding Aspect values of the Ruler.

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.

See Also

©2013. Accusoft Corporation. All Rights Reserved.