Page 1 of 1

getpapersize

Posted: Tue May 14, 2002 3:18 pm
by garyfulcher
I'm not having any luck either setting or getting the paper size. Does anyone have an example of how to do it correctly. I've tried:

dim x as double
dim y as double
IntelliCAD.PlotManager.SetPaperSize x, y

but, no luck.

Posted: Thu May 23, 2002 12:51 am
by John Finlay
garyfulcher,

I recieve an error message when trying both GetPaperSize and SetPaperSize.

"Object doesn't support this action"

It appears that these methods are not supported because they would need an API call to the default Windows printer.

You could try your own API call from within VBA

------------------
Regards
John Finlay