How to use GetDrawingCoords
Moderators: SDS, support, admin
How to use GetDrawingCoords
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
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
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
<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