Hello John and thanks for your fast response.
1)
Maybe my question was not clearly. The first question means, how can I save the PrinterSettings to HDD in order to create a new PrinterSettings object at next application start without having to open the PrintDialog again. I tried it by serializing the members of PrinterSettings. But I cannot access all data, because something is stored private.
2)
For the cloning problem try the following.
- Open, edit and close a PrintDialog
- Assign the PrinterSettings from the dialog to a local variable x.
- Create a new PrintDialog and assign a clone of the local variable xto its printer settings.
- Make any changeswithin the new dialog
If you attach a debugger, you will see that the changes do also affect the original local variable x, which means the clone was not a complete clone.
Reiner Obrecht