Page 1 of 1

How to use GetDrawingCoords

Posted: 14 Jan 2008, 19:10
by aby
Hi Sergey,

The following cliping has been taken from your file.

Returns drawing's point respectively to the controls' coordinates.

function GetDrawingCoords(X, Y: Integer; var Units: string): TFPoint;

Description

Returns point on the drawing respectively to the input controls' coordinates.

X and Y - controls coordinates.


GetDrawingCoords is aspecting a variable Units.
What is Units. Where is defined. ?
Wikipedia is the solution to this kind of problems.

Thanks

Aby

Posted: 15 Jan 2008, 11:16
by support
Hi Aby,

<i>Units</i> - it must be "" as input parameter. Returns 'MM' if a drawing is in millimeters or 'Inches' if a drawing is in Inches.

Sergey.

Please post questions to the forum or write to support@cadsofttools.com