PrinterSettings.SetHdevnames(IntPtr) 方法

定义

将相关信息从给定句柄复制到 PrinterSettings 中。

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

参数

hdevnames
IntPtr

nativeint

Win32 DEVNAMES 结构的句柄。

例外

打印机句柄无效。

适用于