Loads a photograph from an array of bytes.

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

Syntax

C#
public vCardPhoto(
	byte[] buffer,
	vCardPhoto..::..PhotoImageFormat format
)
Visual Basic
Public Sub New ( _
	buffer As Byte(), _
	format As vCardPhoto..::..PhotoImageFormat _
)
Visual C++
public:
vCardPhoto(
	array<unsigned char>^ buffer, 
	vCardPhoto..::..PhotoImageFormat format
)

Parameters

buffer
Type: array<System..::..Byte>[]()[][]
An array of bytes containing the raw data from any of the supported image formats.
format
Type: vCards..::..vCardPhoto..::..PhotoImageFormat

See Also