TTMSFNCCustomCloudGooglePhotos.DownloadPhoto Method
Downloads the full-size image of a photo and saves it to a local file.
API unit family: TMSFNCCloudGooglePhotos
Declaring type: TTMSFNCCustomCloudGooglePhotos
Syntax
procedure DownloadPhoto(ATargetFile: string; APhoto: TTMSFNCCloudGooglePhotosPhoto);
Remarks
The OnBeforeDownloadPhoto event can change the target file or skip the download; completion is reported through the OnDownloadPhoto event.
Parameters
| Name | Description |
|---|---|
ATargetFile |
The local path to save the image to; when empty the photo's file name is used. |
APhoto |
The photo to download. |