PrinterSettings.SetHdevmode(IntPtr) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
Parameters
- hdevmode
-
IntPtr
nativeint
The handle to a Win32 DEVMODE
structure.
Exceptions
The printer handle is not valid.
Remarks
DEVMODE
structures are device specific and copying a DEVMODE
structure from one PrinterSettings to a PrinterSettings for a different printer is not supported.
Applies to
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.