Skip to main content
Table of Contents

TTMSFNCCloudFileConversion.ConvertFile Method

Creates a conversion job for a local file and uploads it to the service.

API unit family: TMSFNCCloudFileConversion Declaring type: TTMSFNCCloudFileConversion Inherited from: TTMSFNCCustomCloudFileConversion

Syntax

FMX.TMSFNCCloudFileConversion.hppPascalC++
procedure ConvertFile(AFile: TTMSFNCUtilsFile; AOutputFormat: TTMSFNCCloudFileConversionFileFormat; ACallback: TTMSFNCCloudFileConversionJobCallBack = nil);
void __fastcall ConvertFile(TTMSFNCUtilsFile AFile, TTMSFNCCloudFileConversionFileFormat AOutputFormat, _di_TTMSFNCCloudFileConversionJobCallBack ACallback = _di_TTMSFNCCloudFileConversionJobCallBack());

Parameters

Name Description
AFile Source file to convert.
AOutputFormat Target output format.
ACallback Optional callback invoked when the job has been created.