How to use GetDrawingCoords

Discuss and ask questions about CAD VCL (Delphi and C++ Builder).

Moderators: SDS, support, admin

Post Reply
aby
Posts: 81
Joined: 21 May 2007, 13:02
Location: Turkey

How to use GetDrawingCoords

Post by aby » 14 Jan 2008, 19:10

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

support
Posts: 3272
Joined: 30 Mar 2005, 11:36
Contact:

Post by support » 15 Jan 2008, 11:16

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

Post Reply