Skip to main content
Table of Contents

TTMSFNCCustomPDFLib.OpenDocument Method

Opens and parses an existing PDF from a file for structural editing.

API unit family: TMSFNCPDFLib Declaring type: TTMSFNCCustomPDFLib

Overloads

Overload 1

Opens and parses an existing PDF from a file for structural editing.

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

Parameters

Name Description
FileName PDF file to open.
Password Reserved for encrypted-document support.

Overload 2

Opens and parses an existing PDF from the current stream position.

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