2 questions: move and CadViewx.width

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

Moderators: SDS, support, admin

Post Reply
Andy_1a
Posts: 4
Joined: 08 Nov 2010, 02:42

2 questions: move and CadViewx.width

Post by Andy_1a » 16 Dec 2010, 18:26

i have the following questions for my small VB6 project:

1) how can i move the inner rectangle (.SVG) to x,y ?
(just like the drawing with the right mouse button)

2) how can i calculate the height and width for CadViewx, to get the form filled ?

View:
http://www.traum-touren.de/develop/cadviewx1_55.jpg

Thanks

Andy

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

Re: 2 questions: move and CadViewx.width

Post by support » 17 Dec 2010, 15:55

Hello Andy.

CADViewX Pro include Editor tool that allows visual select and move parts of drawing. Also you can move objects programmatically, accessing CADImage's entities structure: CADViewX.CADImage.Converter.Sections(csEntities). CADViewX Lite allows moving programmatically only: CADViewX.DXFImage.Converter.Sections(csEntities)

Height and width for CADViewX can be set in CADViewX properties in VB project window and accessed as CADViewX.Width and CADViewX.Height. In our VB demo project filling the form by CADViewX control realized via set these properties in Form_Resize method.

Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Post Reply