Copies the relevant information from the System.Drawing.Printing.PageSettings to the specified DEVMODE structure.
Call the PageSettings.CopyToHdevmode(IntPtr) method to copy relevant information to a DEVMODE structure from a System.Drawing.Printing.PageSettings. This method is useful when you want to make unmanaged Win32 calls that require a DEVMODE.
To copy information from a DEVMODE structure to the System.Drawing.Printing.PageSettings, call PageSettings.SetHdevmode(IntPtr).