TTMSFNCCloudGoogleDrive.ExportFile Method
Exports a document-format item to a local file using a spreadsheet target format.
API unit family: TMSFNCCloudGoogleDrive
Declaring type: TTMSFNCCloudGoogleDrive
Inherited from: TTMSFNCCustomCloudGoogleDrive
Overloads
Overload 1
Exports a document-format item to a local file using a spreadsheet target format.
function ExportFile(AItem: TTMSFNCCloudItem; const ATargetFile: string; ATargetMimeType: TTMSFNCCloudGoogleSheetsMimeType): string; overload;
Parameters
| Name | Description |
|---|---|
AItem |
Item to export. |
ATargetFile |
Local path where the exported content is written. |
ATargetMimeType |
Spreadsheet format to export the item to. |
Returns
The local target path.
Overload 2
Exports a document-format item to a local file using a document target format.
function ExportFile(AItem: TTMSFNCCloudItem; const ATargetFile: string; ATargetMimeType: TTMSFNCCloudGoogleDocsMimeType): string; overload;
Parameters
| Name | Description |
|---|---|
AItem |
Item to export. |
ATargetFile |
Local path where the exported content is written. |
ATargetMimeType |
Document format to export the item to. |
Returns
The local target path.