D
Diederik van Leeuwen
Hi,
I'm working on a windows application that uses the Visio 2003 control. I'm
currently adding printing functionality using .NET's PageSetupDialog and
PrintDialog. I'm using the visioControl.Document.PrintOut method to pass most
printer settings. For page settings I already use
visioControl.Document.PrintLandscape = pageSetupDialog.PageSettings.Landscape
to pass page orientaton, but I don't see how to pass
pageSetupDialog.PageSettings.PaperSize to the visioControl.Document. There
doesn't seem to be a clear match between .NET's PaperSize and Visio's
VisPaperSizes.
Can anaybody tell me how to interpret .NET's PaperSize such that
visioControl.Document.PrintOut takes that paper size into account.
Thanks!
Regards,
Diederik van Leeuwen
Application Engineer
Telematica Instituut
The Netherlands
I'm working on a windows application that uses the Visio 2003 control. I'm
currently adding printing functionality using .NET's PageSetupDialog and
PrintDialog. I'm using the visioControl.Document.PrintOut method to pass most
printer settings. For page settings I already use
visioControl.Document.PrintLandscape = pageSetupDialog.PageSettings.Landscape
to pass page orientaton, but I don't see how to pass
pageSetupDialog.PageSettings.PaperSize to the visioControl.Document. There
doesn't seem to be a clear match between .NET's PaperSize and Visio's
VisPaperSizes.
Can anaybody tell me how to interpret .NET's PaperSize such that
visioControl.Document.PrintOut takes that paper size into account.
Thanks!
Regards,
Diederik van Leeuwen
Application Engineer
Telematica Instituut
The Netherlands