# GraffitiRuler
Class Inherits GraffitiSuite.BaseCanvas
## About
GraffitiRuler allows developers to add an approximate representation of true measurements to screen objects. Using properties for image resolution (DPI) and scale to properly calculate the real-world size of and image from its pixel dimensions.
## Preview

Previous
Next
## Compatibility
### Framework API Version
| 1.0 | 2.0 |
| :---: | :---: |
| True | True |
### Desktop
| 32-Bit | 64-Bit |
| :---: | :---: |
| True | True |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| BorderColor | Color | Nil | The color used to draw the outer edge of the control. |
| ImageResolution | Integer | Nil | The DPI ratio of the image ( IE : 72 pixels per inch). |
| ImageScale | Double | Nil | The scale ratio of the image ( IE : 0.10 for 10% of original size). |
| MarkerColor | Color | Nil | The color used to draw the marker lines for the individual units of measure. |
| MarkerTextColor | Color | Nil | The color used to draw the numbers for each marker line. |
| MarkerTextFont | String | Nil | The font face used for marker digit display. |
| MarkerTextSize | Integer | Nil | The font size used for marker digit display. |
| Private | As | = | |
| Private | As | = | |
| Private | As | Nil | |
| Private | As | = | |
| Private | As | = | |
| Private | As | = | |
| Private | As | Nil | |
| Private | As | = | |
| Private | As | Nil | |
| Private | As | Nil | |
| Private | As | = | |
| Private | As | Nil | |
| Private | As | Nil | |
| RulerBG | Color | Nil | The background color of the ruler display. |
| ScrollOffset | Integer | Nil | The scroll position of the image in relation to the ruler. |
| XYPosition | Integer | Nil | The starting position of the image in relation to the ruler. |