PrinterSettings.SetHdevnames Method (IntPtr)

 

Copies the relevant information out of the given handle and into the PrinterSettings.

Namespace:   System.Drawing.Printing
Assembly:  System.Drawing (in System.Drawing.dll)

public void SetHdevnames(
	IntPtr hdevnames
)

Parameters

hdevnames
Type: System.IntPtr

The handle to a Win32 DEVNAMES structure.

Exception Condition
ArgumentException

The printer handle is invalid.

PrintingPermission

for printing and access to all printers on the network. Associated enumeration: PrintingPermissionLevel.AllPrinting

.NET Framework
Available since 1.1
Return to top
Show: