DASetPageSize
Direct access functionality, Page properties
Description
Sets the specified page to have a certain width and height.
Syntax
Delphi
function TQuickPDF0813.DASetPageSize(FileHandle, PageRef: Integer; PntWidth,
PntHeight: Double): Integer;
ActiveX
Function QuickPDF0813.PDFLibrary::DASetPageSize(FileHandle As Long, PageRef As Long,
PntWidth As Double, PntHeight As Double) As Long
DLL
int QuickPDFDASetPageSize(int InstanceID, int FileHandle, int PageRef,
double PntWidth, double PntHeight)
Parameters
| FileHandle | A handle returned by the DAOpenFile, DAOpenFileReadOnly or DAOpenFromStream functions |
| PageRef | A page reference returned by the DAFindPage or DANewPage functions |
| PntWidth | The new width of the page, measured in points |
| PntHeight | The new height of the page, measured in points |
Return values
| 0 | The specified FileHandle or PageRef were not valid |
| 1 | The page size was set successfully |