Skip to main content
Table of Contents

ITMSFNCCustomPDFLib.BeginDocument Method

Begins a new PDF document, optionally writing to the specified file path; pass an empty string to work in memory only.

API unit family: TMSFNCPDFLib Declaring type: ITMSFNCCustomPDFLib

Syntax

FMX.TMSFNCPDFLib.hppPascalC++
procedure BeginDocument(FileName: String = '');
virtual void __fastcall BeginDocument(System::UnicodeString FileName = System::UnicodeString()) = 0;

Parameters

Name Description
FileName Destination file path for the output PDF, or an empty string for in-memory generation.