ImageGear Professional v18.2 > API Reference Guide > ARTX Component API Reference > ARTX Component Objects > IGArtXCtl Control > IGArtXCtrl Methods > CreateRuler Method |
Creates Ruler annotation with specified properties.
CreateRuler(
StartPoint As IGPoint,
EndPoint As IGPoint,
Border As IGArtXBorder,
Opacity As Long,
AspectRatio As IGArtXAspectRatio,
StartlineLength As Long,
EndlineLength As Long,
Precision As Long,
Label As String) As IGArtXRuler
Name | Description |
---|---|
StartPoint | Coordinates of the start point. |
EndPoint | Coordinates of the end point. |
Border | Contains line properties of the annotation, such as line style, line width, color. See IGArtXBorder Object for more information. |
Opacity | Opacity value for the annotation. |
AspectRatio | IGArtXAspectRatio Object containing aspect ratio properties. |
StartlineLength | Length of the start line of the ruler. |
EndlineLength | Length of the end line of the ruler. |
Precision | Number of digit after a decimal point to display. |
Label | Label string. |
New instance of IGArtXRuler Object.
N/A