Hi
I'm printing reports in WPF using a custom preview control and want to update the document's layout when the paper size is changed and so I can't use the standard print dialog. The only way I've found to get the paper sizes for the printer is using something like this:
WPF - Print Queues And Capabilities
What is returned is a list of user unfriendly names such as ISOA4 (793.700787401575 x 1122.51968503937)
So I've thought to convert them to a more friendly format using a dictionary and getting the full list of sizes from
PageMediaSizeName Enumeration
Before I head down that road does someone know another way?
Thanks,
M