ImageGear PDF v25.1 - Updated
ImGearARTRuler Constructor(ImGearPoint,ImGearPoint,IImGearRGBQuad,IImGearResolution)




ImageGear.Art Assembly > ImageGear.ART Namespace > ImGearARTRuler Class > ImGearARTRuler Constructor : ImGearARTRuler Constructor(ImGearPoint,ImGearPoint,IImGearRGBQuad,IImGearResolution)
Start point of the ruler.
End point of the ruler.
Ruler color.
Image resolution required to initialize ruler's aspect parameters used to calculate physical measurement units. In case of NO_ABS units, vertical resolution in set to 72 DPI and horizontal is calculated based on the resolution aspect ratio.
Initializes a new instance of the ImGearARTRuler class object using start and end points, color and image resolution.
Syntax
'Declaration
 
Public Function New( _
   ByVal startPoint As ImGearPoint, _
   ByVal endPoint As ImGearPoint, _
   ByVal color As IImGearRGBQuad, _
   ByVal resolution As IImGearResolution _
)
'Usage
 
Dim startPoint As ImGearPoint
Dim endPoint As ImGearPoint
Dim color As IImGearRGBQuad
Dim resolution As IImGearResolution
 
Dim instance As New ImGearARTRuler(startPoint, endPoint, color, resolution)
public ImGearARTRuler( 
   ImGearPoint startPoint,
   ImGearPoint endPoint,
   IImGearRGBQuad color,
   IImGearResolution resolution
)
public: ImGearARTRuler( 
   ImGearPoint startPoint,
   ImGearPoint endPoint,
   IImGearRGBQuad* color,
   IImGearResolution* resolution
)
public:
ImGearARTRuler( 
   ImGearPoint startPoint,
   ImGearPoint endPoint,
   IImGearRGBQuad^ color,
   IImGearResolution^ resolution
)

Parameters

startPoint
Start point of the ruler.
endPoint
End point of the ruler.
color
Ruler color.
resolution
Image resolution required to initialize ruler's aspect parameters used to calculate physical measurement units. In case of NO_ABS units, vertical resolution in set to 72 DPI and horizontal is calculated based on the resolution aspect ratio.
See Also

Reference

ImGearARTRuler Class
ImGearARTRuler Members
Overload List