TTMSFNCPDFLib.AppendPageFrom Method
Appends one page from another PDF file.
API unit family: TMSFNCPDFLib
Declaring type: TTMSFNCPDFLib
Inherited from: TTMSFNCCustomPDFLib
Overloads
Overload 1
Appends one page from another PDF file.
procedure AppendPageFrom(const FileName: string; PageIndex: Integer; const Password: string = ''); overload;
void __fastcall AppendPageFrom(const System::UnicodeString FileName, int PageIndex, const System::UnicodeString Password = System::UnicodeString());
Parameters
| Name | Description |
|---|---|
FileName |
Path of the source PDF. |
PageIndex |
Zero-based source page index. |
Password |
Password used to open the source PDF, or an empty string when it is not encrypted. |
Overload 2
Appends one page from another PDF stream.
procedure AppendPageFrom(const FileStream: TStream; PageIndex: Integer; const Password: string = ''); overload;
void __fastcall AppendPageFrom(System::Classes::TStream* const FileStream, int PageIndex, const System::UnicodeString Password = System::UnicodeString());
Parameters
| Name | Description |
|---|---|
FileStream |
Stream containing the source PDF. |
PageIndex |
Zero-based source page index. |
Password |
Password used to open the source PDF, or an empty string when it is not encrypted. |