Skip to main content
Table of Contents

TTMSFNCCustomCloudFileConversion.DownloadFileToStream Method

Downloads an output file into an in-memory stream, selecting the job and file by their provider ids.

API unit family: TMSFNCCloudFileConversion Declaring type: TTMSFNCCustomCloudFileConversion

Overloads

Overload 1

Downloads an output file into an in-memory stream, selecting the job and file by their provider ids.

FMX.TMSFNCCloudFileConversion.hppPascalC++
procedure DownloadFileToStream(AJobId: string; AFileId: string; ACallback: TTMSFNCCloudFileConversionFileStreamCallBack = nil); overload;
void __fastcall DownloadFileToStream(System::UnicodeString AJobId, System::UnicodeString AFileId, _di_TTMSFNCCloudFileConversionFileStreamCallBack ACallback = _di_TTMSFNCCloudFileConversionFileStreamCallBack())/* overload */;

Parameters

Name Description
AJobId Identifier of the job that produced the file.
AFileId Identifier of the output file to download.
ACallback Optional callback invoked when the download completes.

Overload 2

Downloads an output file of the given job into an in-memory stream, selecting the file by its provider id.

FMX.TMSFNCCloudFileConversion.hppPascalC++
procedure DownloadFileToStream(AJob: TTMSFNCCloudFileConversionJob; AFileId: string; ACallback: TTMSFNCCloudFileConversionFileStreamCallBack = nil); overload;
void __fastcall DownloadFileToStream(TTMSFNCCloudFileConversionJob* AJob, System::UnicodeString AFileId, _di_TTMSFNCCloudFileConversionFileStreamCallBack ACallback = _di_TTMSFNCCloudFileConversionFileStreamCallBack())/* overload */;

Parameters

Name Description
AJob Job that produced the file.
AFileId Identifier of the output file to download.
ACallback Optional callback invoked when the download completes.

Overload 3

Downloads the given output file into an in-memory stream.

FMX.TMSFNCCloudFileConversion.hppPascalC++
procedure DownloadFileToStream(AFile: TTMSFNCCloudFileConversionFile; ACallback: TTMSFNCCloudFileConversionFileStreamCallBack = nil); overload;
void __fastcall DownloadFileToStream(TTMSFNCCloudFileConversionFile* AFile, _di_TTMSFNCCloudFileConversionFileStreamCallBack ACallback = _di_TTMSFNCCloudFileConversionFileStreamCallBack())/* overload */;

Parameters

Name Description
AFile Output file to download.
ACallback Optional callback invoked when the download completes.