Appends at most length pages from the specified password protected source document starting from zero based index
startIndex in the source document.
Namespace: Winnovative.PDFMerge
Assembly: wnvpdfmerge (in wnvpdfmerge.dll) Version: 10.0.0.0 (10.0.0.0)
Syntax
public void AppendPDFFile( string pdfFileFullPath, string password, int startIndex, int length )
Parameters
- pdfFileFullPath
- Type: SystemString
The full path of the document to be appended - password
- Type: SystemString
The password to open the appended document. If this argument is null no password will be used. - startIndex
- Type: SystemInt32
The zero based index of the page from the source document from where to start appending pages - length
- Type: SystemInt32
The number of pages to be taken from the source document and appended to the merged document. If the specified length is bigger than the available number of pages starting from the specified start page index, only the available number of pages will be appended. If the length is negative e.g -1, all the PDF pages available from startIndex will be appended to the merged document.
See Also