ContactPicture Microsoft.Office.Interop.Outlook

  • Thread starter Thread starter Alexander
  • Start date Start date
A

Alexander

I am trying to use the office interop to retrieve a contact photo for a
given contact if available

I am able to iterate thru my contacts:

Outlook.ContactItem contact =
(Outlook.ContactItem)contacts.Items;

and i am able to check if a contact has a contact photo:

if(contact.HasPicture)

but i have no idea how i can get access to the ContactPhoto and i been
googling with no luck????
 
The contact picture is an attachment on the item. You would have to go
through the Attachments collection of the item and find the picture that
way.
 
Back
Top