How to: Capture User Input from a PrintDialog at Run Time
While you can set options related to printing at design time, you will sometimes want to change these options at run time, most likely because of choices made by the user. You can capture user input for printing a document using the PrintDialog and the PrintDocument components.
To change print options programmatically
PrintDialog1.Document = PrintDocument1
printDialog1.Document = PrintDocument1;
printDialog1->Document = PrintDocument1;
Send feedback about: