progeCAD support, tips and troubleshooting forum. progeCAD works very similar to some versions of AutoCAD. Moderated.

Moderators: caddit, Moderators

#802 by zoomout
Fri Oct 23, 2009 5:06 am
Hello again.
Just would like to know how can you access the page setup of the Layout Tab? I am referring to the ones in which you can modify paper sizes, margins, etc.
In AutoCad, you can access it directly by right-clicking the Layout tab and selecting the "Page Setup" option. Where is it located in progeCAD?
Thanks again!
#814 by caddit
Tue Oct 27, 2009 7:41 am
Hello zoomout,


I have looked thoroughly into this. progeCAD uses whatever options that the Windows printer driver offers visibility to for said printer configuration. progeCAD looks directly to the Windows printer/plotter settings for all aspects of sheet layout. Select File -> Print Settings and make any changes that the Windows driver supports. If that includes setting margins than good, but this is usually not offered. Once all Print Setup changes have been made, click "Apply to Layout" button on the lower left of the Print Settings windows.

As a side note, one staff member thought it would be an interesting project to see if progeCAD VBA API offered visibility to setting margins. It doesn't seem to do so. The supported "Layout" and "PlotConfiguration" VBA classes only offer sub "GetPaperMargins" with no equivalent "SetPaperMargins" method.

If anyone else has an idea about how to do this properly in progeCAD VBA, we have an interface ready to implement it.