PrinterSettings.SetHdevmode(IntPtr) PrinterSettings.SetHdevmode(IntPtr) PrinterSettings.SetHdevmode(IntPtr) PrinterSettings.SetHdevmode(IntPtr) Method

Definición

Copia en PrinterSettings la información relevante del identificador dado.Copies the relevant information out of the given handle and into the PrinterSettings.

public:
 void SetHdevmode(IntPtr hdevmode);
public void SetHdevmode (IntPtr hdevmode);
member this.SetHdevmode : nativeint -> unit
Public Sub SetHdevmode (hdevmode As IntPtr)

Parámetros

hdevmode
IntPtr IntPtr IntPtr IntPtr

Identificador que apunta a una estructura DEVMODE de Win32.The handle to a Win32 DEVMODE structure.

Excepciones

El identificador de la impresora no es válido.The printer handle is not valid.

Comentarios

DEVMODElas estructuras son específicas DEVMODE PrinterSettings del dispositivo y no se admite copiar una PrinterSettings estructura de una a una para una impresora diferente.DEVMODE structures are device specific and copying a DEVMODE structure from one PrinterSettings to a PrinterSettings for a different printer is not supported.

Seguridad

PrintingPermission
para imprimir y acceder a todas las impresoras de la red.for printing and access to all printers on the network. Enumeración asociada:AllPrintingAssociated enumeration: AllPrinting

Se aplica a