ImageGear Professional for Windows ActiveX
CreateRuler Method

Description:

Creates Ruler annotation with specified properties.

Syntax:

      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

Parameters:

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.

Return Value:

New instance of IGArtXRuler Object.

Bits Per Pixel:

N/A

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback