System.Drawing.Printing.PageSettings.SetHdevmode Method

Copies relevant information to the System.Drawing.Printing.PageSettings from the specified DEVMODE structure.

Syntax

public void SetHdevmode (IntPtr hdevmode)

Parameters

hdevmode
The handle to a Win32 DEVMODE structure.

Remarks

Use this method to copy relevant information in a DEVMODE structure to the System.Drawing.Printing.PageSettings.

To copy information from the System.Drawing.Printing.PageSettings to a DEVMODE, call PageSettings.CopyToHdevmode(IntPtr).

Requirements

Namespace: System.Drawing.Printing
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0