Debenu 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 TDebenuPDFLibrary1511.DANewPages(FileHandle, PageCount: Integer): Integer;

ActiveX

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

DLL

int DPLDANewPages(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 © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport