I am writing a WYSIWYG page designer application, which will allow user to drop images and text onto a designer Panel and then print the panel to PDF.
The application will allow the user to select a page size, and based on selected page size it will show a panel on screen that is sized according to the dimensions (eg A4 selected = 8.5 x 11 inches and Panel will be sized to these pixel dimensions) .
Then when user clicks Print, the contents of the Panel will be drawn to a PDF file with the selected dimensions.
So I have a number of questions, in this post, the first one:
1. How to get list of all paper sizes names, and then how to get their corresponding dimensions for wPDFPrinter ?
Regards,
Steve Faleiro