TTMSFNCCloudFileConversion.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: TTMSFNCCloudFileConversion
Inherited from: TTMSFNCCustomCloudFileConversion
Overloads
Overload 1
Downloads an output file into an in-memory stream, selecting the job and file by their provider ids.
procedure DownloadFileToStream(AJobId: string; AFileId: string; ACallback: TTMSFNCCloudFileConversionFileStreamCallBack = nil); 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.
procedure DownloadFileToStream(AJob: TTMSFNCCloudFileConversionJob; AFileId: string; ACallback: TTMSFNCCloudFileConversionFileStreamCallBack = nil); 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.
procedure DownloadFileToStream(AFile: TTMSFNCCloudFileConversionFile; ACallback: TTMSFNCCloudFileConversionFileStreamCallBack = nil); overload;
Parameters
| Name | Description |
|---|---|
AFile |
Output file to download. |
ACallback |
Optional callback invoked when the download completes. |