Skip to main content
Table of Contents

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

FMX.TMSFNCCloudGooglePhotos.hppPascalC++
procedure DownloadPhoto(ATargetFile: string; APhoto: TTMSFNCCloudGooglePhotosPhoto);
void __fastcall DownloadPhoto(System::UnicodeString ATargetFile, TTMSFNCCloudGooglePhotosPhoto* APhoto);

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.