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 (PageSettings)

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( _
   ByVal pageSettings As PageSettings _
) As Integer
[C#]
public int GetHDEVMODE(
   PageSettings pageSettings
);
[C++]
public: int GetHDEVMODE(
   PageSettings* pageSettings
);
[JScript]
public function GetHDEVMODE(
   pageSettings : PageSettings
) : int;

Parameters

pageSettings
[To be supplied.]

See Also

PrinterSettings Class | PrinterSettings Members | System.Drawing.Printing Namespace | PrinterSettings.GetHDEVMODE Overload List