PageSettings.SetHdevmode(IntPtr) Método
Definição
Copia informações relevantes para o PageSettings da estrutura DEVMODE especificada.Copies relevant information to the PageSettings from the specified DEVMODE structure.
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
O identificador para uma estrutura DEVMODE Win32.The handle to a Win32 DEVMODE structure.
Exceções
O identificador de impressora não é válido.The printer handle is not valid.
A impressora nomeada na propriedade PrinterName não existe ou não há nenhuma impressora padrão instalada.The printer named in the PrinterName property does not exist or there is no default printer installed.
Comentários
Use esse método para copiar informações relevantes em uma DEVMODE estrutura para o PageSettings .Use this method to copy relevant information in a DEVMODE structure to the PageSettings.
Para copiar informações do PageSettings para o DEVMODE , chame CopyToHdevmode .To copy information from the PageSettings to a DEVMODE, call CopyToHdevmode.