ImageGear .NET v25.0 - Updated
Ruler
User Guide > How to Work with... > ART Mark Annotations > ART Annotations > ART 3.0, ART 2.0 Marks > Measurement Marks > Ruler

The Ruler mark enables the end user to create a line that displays its measurement.

Edit Mode

In Edit mode, end users create this mark as follows:

  1. Click the Ruler button.
  2. Click where the line begins and drag it to the end of the line.
  3. Release the mouse button to complete the line.
  4. Right-click the mark after it is created to activate the popup Edit menu. 

Ruler Length Measuring Modes

ImageGear provides two different length measuring modes for Ruler and PolyRuler annotations – Absolute and Relative, which can be changed using ImGearARTPage.AspectKind property.

If the physical measurements of your marks need to reflect the changes to the resolution of the underlying image, you should work with pages and marks in Relative mode instead.

If the physical measurements of your marks need to remain constant regardless of the resolution of the underlying image, you should work with pages and marks in Absolute mode instead.