Page 1 of 1

showpointex

Posted: 10 Jul 2006, 23:47
by carsonfee
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.

Posted: 12 Jul 2006, 16:34
by support
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