Saltar al contenido principal

PDFFilePaginate

Structure

PDFFilePaginate(sFileName, sPageNoFormat : String)

Type

Function

Description

This procedure will take a pdf file and will repaginate any 'Page # of #' text based on the sPageNoFormat - to account for the new full number of pages.

Parameters: 2

sFileName = the name of the first pdf file

sPageNoFormat = the format of page #'s in the document. This format must be consistently used in the document, and must be used in text-based controls (not images). There are 2 mail-merge aliases you can use in this format, [Page] for current page and [Total] for total number of pages. An example would be: 'Page [Page] of [Total]'

Return Value

Integer - 1 = Success, 0 = Failure |