'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.