Description
Clears the current printer options for color mode, resolution, paper orientation and paper size from the IPNSession object.
To clear only a single printer option use the SetProperty call with the appropriate section and name arguments and pass an empty argument as the property value. See the Remarks section in SetDevmodeSettings for a list of values.
Clearing the printer options using this method will also clear any print options set using any of the ForcePrinterColorMode, ForcePrinterOrientation, ForcePrinterPaperSize and ForcePrinterResolution methods.
Syntax
expression.ClearDevmodeSettings()
where expression is an IPNSession object.
Supported Printers: TIFF Image Printer, PDF Image Printer, Raster Image Printer
See Also: SetDevmodeSettings ForcePrinterColorMode ForcePrinterOrientation ForcePrinterPaperSize ForcePrinterResolution SetProperty