Skip to main content
Table of Contents

ITMSFNCCustomPDFLib.OpenDocument Method

Opens an existing PDF document from the specified file path.

API unit family: TMSFNCPDFLib Declaring type: ITMSFNCCustomPDFLib

Overloads

Overload 1

Opens an existing PDF document from the specified file path.

FMX.TMSFNCPDFLib.hppPascalC++
procedure OpenDocument(FileName: String); overload;
virtual void __fastcall OpenDocument(System::UnicodeString FileName) = 0 /* overload */;

Parameters

Name Description
FileName Path of the PDF file to open.

Overload 2

Opens an existing PDF document from the specified memory stream.

FMX.TMSFNCPDFLib.hppPascalC++
procedure OpenDocument(FileStream: TMemoryStream); overload;
virtual void __fastcall OpenDocument(System::Classes::TMemoryStream* FileStream) = 0 /* overload */;

Parameters

Name Description
FileStream Memory stream containing the PDF file data.