SetPrinterDevModeFromString

Rendering and printing

Description

Sets the printer DEVMODE structure for the next printing operation using the value retrieved from a prior call to GetPrinterDevModeToString.

Syntax

Delphi

Function TPDFlib.SetPrinterDevModeFromString(Const Source: AnsiString): Integer;

DLL

int DLSetPrinterDevModeFromString(int InstanceID, const char* Source);

Parameters

SourceA value returned from the GetPrinterDevModeToString function.

Return values

Returns 1. The value is stored and used by the next printing operation