TTMSFNCCloudFileConversion.GetConversionFileFormatFromString Method
Maps a file-extension string to its matching format value.
API unit family: TMSFNCCloudFileConversion
Declaring type: TTMSFNCCloudFileConversion
Inherited from: TTMSFNCCustomCloudFileConversion
Syntax
class function GetConversionFileFormatFromString(AFormat: string): TTMSFNCCloudFileConversionFileFormat;
Remarks
The comparison is case-insensitive and ignores a leading dot.
Parameters
| Name | Description |
|---|---|
AFormat |
Extension text, with or without a leading dot (for example "pdf" or ".pdf"). |
Returns
The matching format value, or the unknown value when the extension is not recognized.