Quick PDF logo

DANewPages

Direct access functionality, Page manipulation

Description

Adds a number of new pages to the end of the document. All new pages have a standard size of 612x792 points.

Syntax

Delphi

function TQuickPDF0813.DANewPages(FileHandle, PageCount: Integer): Integer;

ActiveX

Function QuickPDF0813.PDFLibrary::DANewPages(FileHandle As Long,
  PageCount As Long) As Long

DLL

int QuickPDFDANewPages(int InstanceID, int FileHandle, int PageCount)

Parameters

FileHandle A handle returned by the DAOpenFile, DAOpenFileReadOnly or DAOpenFromStream functions
PageCount The number of pages to add to the document

Return values

0 The specified FileHandle was not valid
Non-zero The total number of pages in the document after the new pages were added

Copyright © 2011 Debenu. All rights reserved. AboutContactBlogNewsletterSupportBuyForum