Skip to main content
Table of Contents

TTMSFNCCustomPDFLib.AppendDocument Method

Appends every page from another PDF file.

API unit family: TMSFNCPDFLib Declaring type: TTMSFNCCustomPDFLib

Overloads

Overload 1

Appends every page from another PDF file.

GeneratedPascalC++
procedure AppendDocument(const FileName: string; const Password: string = ''); overload;
void __fastcall AppendDocument(const System::UnicodeString FileName, const System::UnicodeString Password = System::UnicodeString());

Parameters

Name Description
FileName Path of the source PDF.
Password Password used to open the source PDF, or an empty string when it is not encrypted.

Overload 2

Appends every page from another PDF stream.

GeneratedPascalC++
procedure AppendDocument(const FileStream: TStream; const Password: string = ''); overload;
void __fastcall AppendDocument(System::Classes::TStream* const FileStream, const System::UnicodeString Password = System::UnicodeString());

Parameters

Name Description
FileStream Stream containing the source PDF.
Password Password used to open the source PDF, or an empty string when it is not encrypted.