Set Image data from bytes. ContentType should be an image content type such as image/jpeg, image/gif, image/png etc, and the data must be in a matching correct format.

Namespace: Jaxcent.Web.Html
Assembly: Jaxcent (in Jaxcent.dll) Version: 2.3.1.0 (2.3.1.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public void SetSrc(
	byte[] imageData,
	string imageContentType
)
Public Sub SetSrc ( _
	imageData As Byte(), _
	imageContentType As String _
)
public:
void SetSrc(
	array<unsigned char>^ imageData, 
	String^ imageContentType
)

Parameters

imageData
array<Byte>[]()[][]
imageContentType
String

See Also