Skip to main content
Table of Contents

ITMSFNCCustomPDFLib.SaveDocumentFromStream Method

Saves a previously loaded PDF memory stream to the specified file path.

API unit family: TMSFNCPDFLib Declaring type: ITMSFNCCustomPDFLib

Syntax

FMX.TMSFNCPDFLib.hppPascalC++
procedure SaveDocumentFromStream(FileStream: TMemoryStream; FileName: String);
virtual void __fastcall SaveDocumentFromStream(System::Classes::TMemoryStream* FileStream, System::UnicodeString FileName) = 0;

Parameters

Name Description
FileStream Memory stream containing the PDF data to save.
FileName Destination file path for the saved PDF.