B
Barry
Hello,
I am attempting to change my page size from Letter to Legal with the
following code using VB.NET:
vApp = New Visio.Application
vDoc = vApp.Documents.Add("")
vDoc.PaperSize = Visio.VisPaperSizes.visPaperSizeLegal
When I start to debug my code, I can see in Visio that the page size is now
Legal, however the actual canvas is still letter. If I pause the debugger and
go into Page Setup select Page Size and click the option 'Same as printer
paper size' and hit OK, my viewable canvas is not Legal.
I am sure I am missing more code, but can't seem to find anything! I recored
a Macro to see what the VB code looked like, but that didn't help much.
Thanks!
Barry
I am attempting to change my page size from Letter to Legal with the
following code using VB.NET:
vApp = New Visio.Application
vDoc = vApp.Documents.Add("")
vDoc.PaperSize = Visio.VisPaperSizes.visPaperSizeLegal
When I start to debug my code, I can see in Visio that the page size is now
Legal, however the actual canvas is still letter. If I pause the debugger and
go into Page Setup select Page Size and click the option 'Same as printer
paper size' and hit OK, my viewable canvas is not Legal.
I am sure I am missing more code, but can't seem to find anything! I recored
a Macro to see what the VB code looked like, but that didn't help much.
Thanks!
Barry