Aspose::Email::PersonalInfo::VCard::VCardPhoto Class Referencefinal

Represents vCard photo property More...

Inherits Object.

Public Member Functions

VCardPhotoType get_PhotoType () const
 Gets a photo type More...
 
void set_PhotoType (VCardPhotoType value)
 Sets a photo type More...
 
System::ArrayPtr< uint8_t > get_Data () const
 Gets an image data (null if valueLocation is not inline) More...
 
void set_Data (System::ArrayPtr< uint8_t > value)
 Sets an image data (null if valueLocation is not inline) More...
 
System::String get_Uri () const
 Gets a uri of photo (null if valueLocation is inline) More...
 
void set_Uri (System::String value)
 Sets a uri of photo (null if valueLocation is inline) More...
 
VCardValueLocation get_ValueLocation () const
 Gets a value location More...
 
void set_ValueLocation (VCardValueLocation value)
 Sets a value location More...
 
 VCardPhoto ()
 Initializes a new instance of the VCardPhoto class More...
 
 VCardPhoto (System::SharedPtr< VCardHeader > photo)
 Initializes a new instance of the VCardPhoto class More...
 
System::SharedPtr< VCardHeader > ToVCardHeader (System::String propertyName)
 Converts this instance into the corresponding VCardHeader More...
 

Friends

class Aspose::Email::Tools::ContactConverter
 
class Aspose::Email::Mapi::MapiContact
 
class Aspose::Email::Mapi::MapiContactPhoto
 
class Aspose::Email::PersonalInfo::VCard::VCardIdentificationInfo
 
class Aspose::Email::PersonalInfo::VCard::VCardOrganization
 
class Aspose::Email::Storage::Zimbra::ZimbraContact
 

Detailed Description

Represents vCard photo property

Constructor & Destructor Documentation

◆ VCardPhoto() [1/2]

Aspose::Email::PersonalInfo::VCard::VCardPhoto::VCardPhoto ( )

Initializes a new instance of the VCardPhoto class

◆ VCardPhoto() [2/2]

Aspose::Email::PersonalInfo::VCard::VCardPhoto::VCardPhoto ( System::SharedPtr< VCardHeader >  photo)

Initializes a new instance of the VCardPhoto class

Parameters
photoA photo vCard property
Exceptions
ArgumentNullExceptionphoto is null

Member Function Documentation

◆ get_Data()

System::ArrayPtr<uint8_t> Aspose::Email::PersonalInfo::VCard::VCardPhoto::get_Data ( ) const

Gets an image data (null if valueLocation is not inline)

◆ get_PhotoType()

VCardPhotoType Aspose::Email::PersonalInfo::VCard::VCardPhoto::get_PhotoType ( ) const

Gets a photo type

◆ get_Uri()

System::String Aspose::Email::PersonalInfo::VCard::VCardPhoto::get_Uri ( ) const

Gets a uri of photo (null if valueLocation is inline)

◆ get_ValueLocation()

VCardValueLocation Aspose::Email::PersonalInfo::VCard::VCardPhoto::get_ValueLocation ( ) const

Gets a value location

◆ set_Data()

void Aspose::Email::PersonalInfo::VCard::VCardPhoto::set_Data ( System::ArrayPtr< uint8_t >  value)

Sets an image data (null if valueLocation is not inline)

◆ set_PhotoType()

void Aspose::Email::PersonalInfo::VCard::VCardPhoto::set_PhotoType ( VCardPhotoType  value)

Sets a photo type

◆ set_Uri()

void Aspose::Email::PersonalInfo::VCard::VCardPhoto::set_Uri ( System::String  value)

Sets a uri of photo (null if valueLocation is inline)

◆ set_ValueLocation()

void Aspose::Email::PersonalInfo::VCard::VCardPhoto::set_ValueLocation ( VCardValueLocation  value)

Sets a value location

◆ ToVCardHeader()

System::SharedPtr<VCardHeader> Aspose::Email::PersonalInfo::VCard::VCardPhoto::ToVCardHeader ( System::String  propertyName)

Converts this instance into the corresponding VCardHeader

Returns
A VCardHeader
Parameters
propertyNameA vCard property name

Friends And Related Function Documentation

◆ Aspose::Email::Mapi::MapiContact

friend class Aspose::Email::Mapi::MapiContact
friend

◆ Aspose::Email::Mapi::MapiContactPhoto

◆ Aspose::Email::PersonalInfo::VCard::VCardIdentificationInfo

◆ Aspose::Email::PersonalInfo::VCard::VCardOrganization

◆ Aspose::Email::Storage::Zimbra::ZimbraContact

friend class Aspose::Email::Storage::Zimbra::ZimbraContact
friend

◆ Aspose::Email::Tools::ContactConverter

friend class Aspose::Email::Tools::ContactConverter
friend