WebImage WebImage WebImage Constructors

Definition

Overloads

WebImage(Byte[]) WebImage(Byte[]) WebImage(Byte[])

Initializes a new instance of the WebImage class using a byte array to represent the image.

WebImage(Stream) WebImage(Stream) WebImage(Stream)

Initializes a new instance of the WebImage class using a stream to represent the image.

WebImage(String) WebImage(String) WebImage(String)

Initializes a new instance of the WebImage class using a path to represent the image location.

WebImage(Byte[]) WebImage(Byte[]) WebImage(Byte[])

Initializes a new instance of the WebImage class using a byte array to represent the image.

public WebImage (byte[] content);
new System.Web.Helpers.WebImage : byte[] -> System.Web.Helpers.WebImage
Public Sub New (content As Byte())
Parameters
content
Byte[]

The image.

WebImage(Stream) WebImage(Stream) WebImage(Stream)

Initializes a new instance of the WebImage class using a stream to represent the image.

public WebImage (System.IO.Stream imageStream);
new System.Web.Helpers.WebImage : System.IO.Stream -> System.Web.Helpers.WebImage
Public Sub New (imageStream As Stream)
Parameters
imageStream
Stream Stream Stream

The image.

WebImage(String) WebImage(String) WebImage(String)

Initializes a new instance of the WebImage class using a path to represent the image location.

public WebImage (string filePath);
new System.Web.Helpers.WebImage : string -> System.Web.Helpers.WebImage
Public Sub New (filePath As String)
Parameters
filePath
String String String

The path of the file that contains the image.

Applies to