visible area copy to clipboard

Discuss and ask questions about CADViewX (Lite and Pro versions).

Moderators: SDS, support, admin

Post Reply
alfons
Posts: 6
Joined: 19 Jun 2007, 22:22
Location: Germany

visible area copy to clipboard

Post by alfons » 19 Jun 2007, 22:28

Hi,
i am using delphi 7 and i dont know how i can copy the visible area
to clipboard.
Please give me an example if possible.

Thanks
alfons

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

Post by support » 21 Jun 2007, 10:23

Hello!

It is necessary to use property <b>PrintViewArea</b>.

Please find procedure TfmMain.mmiPrintClick in the <b>Delphi</b> demo. This demo is available in the ..\CADViewX\Demos\Delphi\.. folder after installation of <b>CADViewX Component</b> package. Then add <i>FCADViewX.PrintViewArea := True;</i> like the following:

Code: Select all

<b>procedure</b> TfmMain.mmiPrintClick(Sender: TObject);
<b>begin</b>
  FCADViewX.PrintViewArea := True;
  FCADViewX.PrintImage;
<b>end</b>;
Sergey.

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

Post Reply