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




Glossary Item Box

Gets or sets a value indicating the aspect kind.

Syntax

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

Property Value

ImGearARTAspectKind value.

Remarks

AspectKind sets displaying mode for ImGearARTRuler and ImGearARTPolyRuler annotations.

Absolute mode is default mode, where measuring length is calculated according to AspectNumeratorX/AspectDenominatorX/AspectNumeratorY/AspectDenominatorY properties of ImGearARTRuler or ImGearARTPolyRuler annotations. In this mode, a change to the resolution of the underlying image will not affect the physical measurements of the ruler/poly-ruler marks on the screen.

In Relative mode AspectNumeratorX/AspectDenominatorX/AspectNumeratorY/AspectDenominatorY properties keep aspect values of the ImGearARTMeasurementUnit structure. In contrast to Absolute mode, in Relative mode the measuring length of ImGearARTRuler and ImGearARTPolyRuler is calculated dynamically depending on the resolution of the currently displayed underlying image.

Note: If the page contains ImGearARTRuler or ImGearARTPolyRuler annotation(s), prior to setting a new value to this property, please initialize Resolution property first, otherwise ImageGear.Core.ImGearException will be thrown. The resolution is necessary for automatic reinitialization of AspectNumeratorX/AspectDenominatorX/AspectNumeratorY/AspectDenominatorY properties of the ruler and poly-ruler marks.

See Also

©2013. Accusoft Corporation. All Rights Reserved.