showpointex

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

Moderators: SDS, support, admin

Post Reply
carsonfee
Posts: 1
Joined: 10 Jul 2006, 23:40

showpointex

Post by carsonfee » 10 Jul 2006, 23:47

I'd like to be able to move or zoom to a specific point on a drawing and I'm not sure which method I should use to do this. It seems showpintex will do the trick but I'm not sure where to get the final reference parameter in the call.

Cheers,

C.

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

Post by support » 12 Jul 2006, 16:34

Hello,

CADViewX component has the following procedure which fulfill this task:

Code: Select all

<b>Procedure</b> ShowPoint(APoint <b>As</b> tagFPoint, AScale <b>As Double</b>, AExt <b>As</b> tagFRectLong)
Demo VB from CADViewX package contains an example how to use it. You can find it the ..\Program Files\CADViewX\Demos\VB\.. after installation of CADViewX (available on: http://www.cadsofttools.com/download/cadviewx.zip). See <i><b>Private Sub</b> cmdShow_Click()</i> in the Form5.frm.

Function ShowPointEx:

Code: Select all

<b>Function</b> ShowPointEx(X <b>As Double</b>, Y <b>As Double</b>, Z <b>As Double</b>, AScale <b>As Double</b>, AExtents <b>As</b> tagFRectLong) <b>As Boolean</b>
was added for using CADViewX in <b>Word</b> applications.

Sergey.

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

Post Reply