SetPageSize

Propiedades de página, diseño de página

Descripción

Utilice esta función para establecer la página actual en un tamaño con nombre, por ejemplo "A4" o "Letter Landscape"

Sintaxis

Delphi

Function TPDFlib.SetPageSize(Const PaperName: WideString): Integer;

ActiveX

Function PDFlib::SetPageSize(PaperName As String) As Long

DLL

int DLSetPageSize(int InstanceID, const wchar_t * PaperName);

Parámetros

PaperNameNombre de papel: A0-A10, B0-B10, ISOB0-ISOB10, C0-C7, DL, Letter, Legal, Statement, Tabloid, Ledger, Executive, Folio, Size8x11, QuadA0, DoubA0, B0Plus, EnvB4, EnvB5, EnvC6, EnvDL, EnvMonarch, Env9, Env10, Env11, ANSIA-E, ARCHA-E1, ARCHE, Shiroku, G1K, tamaños 8K/16K, USBC, EUBC, ASBC, ID1-ID3, OneInch, TwoInch, L2Inch, USVisa y P2R-P24R. Añada Landscape, p. ej., "A3 Landscape"

Valores devueltos

0El nombre de papel especificado no era válido
1La página cambió de tamaño correctamente