SetPageSize
Description
Use this function to set the current page to a named size, for example "A4" or "Letter Landscape".
Syntax
Delphi
function TQuickPDF0813.SetPageSize(PaperName: WideString): Integer;
ActiveX
Function QuickPDF0813.PDFLibrary::SetPageSize(PaperName As String) As Long
DLL
int QuickPDFSetPageSize(int InstanceID, wchar_t * PaperName)
Parameters
| PaperName | The name of the paper, one of the following: A0 to A10, B0 to B10, ISOB0 to ISOB10, C0 to C7, DL, Letter, Legal, Statement, Tabloid, Ledger, Executive, Folio. You can make a landscape page by adding the word Landscape after the paper name, for example "A3 Landscape". |
Return values
| 0 | The specified paper name was not valid |
| 1 | The page was resized successfully |