---
title: "Aspose::Email::Clients::Google::IGmailClient::GetPhoto method"
url: "https://reference.aspose.com/email/cpp/aspose.email.clients.google/igmailclient/getphoto/"
product: "Aspose.Email for C++"
description: "Fetches a contact photo"
---


## GetPhoto (1 of 2) {#getphoto_1}

Fetches a contact photo

**Returns:** Returns a contact photo

```cpp
GetPhoto(System::SharedPtr < PersonalInfo::ContactPhoto > photo)
```

| Parameter | Description |
| --- | --- |
| photo | ContactPhoto object with identifier |

---

## GetPhoto (2 of 2) {#getphoto_2}

Fetches a contact photo

**Returns:** Returns a contact photo

```cpp
GetPhoto(System::String photoUri)
```

| Parameter | Description |
| --- | --- |
| photoUri | Uri of an image. |

