I have a WPF application which displays a printdialog.
I need to convert the printticket to devmode structure, since its an interop app and need to pass this structure for creating device context.
I am not able to populate a proper devmode structure from printticket.
Any help would be appreciated.
The code I am using for this is
printDialog = new