User Guide > How to Work with... > ART Annotations > Using ImageGear.ART Namespace > Operating with ART Marks > Statistics |
ImGearARTMark Class provides a property called "Statistics" that returns the values, such as Length, Area, Perimeter, and characterizing a mark. These measurements are available in different measurement units, like feet, meters, inches, or in user-defined measurement units. Users can select a needed measurement unit by setting the Statistics.Unit property.
To calculate lengths and areas correctly, Statistics needs to have resolution values of the current image, which can be set in the Statistics.Resolution property.
The various properties that return measurements of the mark are provided by the ImGearARTMarkStatistics Class.
Statistics measurements are also available in the ART GUI, in the mark’s properties dialog («Statistics» tab).