A photo embedded in a vCard.

Namespace: vCards
Assembly: ICalVCard (in ICalVCard.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
[SerializableAttribute]
public class vCardPhoto
Visual Basic
<SerializableAttribute> _
Public Class vCardPhoto
Visual C++
[SerializableAttribute]
public ref class vCardPhoto

Remarks

You must specify the photo using a path, a byte array, or a System.Drawing.Bitmap instance. The class will extract the underlying raw bytes for storage into the vCard. You can call the [!:GetBitmap] function to create a new Windows bitmap object (e.g. for display on a form) or GetBytes()()()() to extract the raw bytes (e.g. for transmission from a web page).

Inheritance Hierarchy

System..::..Object
  vCards..::..vCardPhoto

See Also