NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

PrinterSettings.GetHDEVMODE

[To be supplied.]

Overload List

Creates a handle to a DEVMODE structure which correspond to the printer and page settings. When you are done with the handle, you must deallocate it yourself: Windows.GlobalFree(handle); Where "handle" is the return value from this method.

[Visual Basic] Overloads Public Function GetHDEVMODE(PageSettings) As Integer
[C#] public int GetHDEVMODE(PageSettings);
[C++] public: int GetHDEVMODE(PageSettings*);
[JScript] public function GetHDEVMODE(PageSettings) : int;

Creates a handle to a DEVMODE structure which correspond too the printer settings. When you are done with the handle, you must deallocate it yourself: Windows.GlobalFree(handle); Where "handle" is the return value from this method.

[Visual Basic] Overloads Public Function GetHDEVMODE() As Integer
[C#] public int GetHDEVMODE();
[C++] public: int GetHDEVMODE();
[JScript] public function GetHDEVMODE() : int;

See Also

PrinterSettings Class | PrinterSettings Members | System.Drawing.Printing Namespace