[]
        
(Showing Draft Content)

C1.C1Preview.RenderImage.-ctor

RenderImage Constructor

RenderImage()

Initializes a new instance of the RenderImage class.

Declaration
public RenderImage()
Public Sub New()

RenderImage(Image)

Initializes a new instance of the RenderImage class, assigning the Image property.

Declaration
public RenderImage(Image image)
Public Sub New(image As Image)
Parameters
Type Name Description
Image image

An Image that is assigned to the Image property.

RenderImage(string)

Initializes a new instance of the RenderImage class, assigning the ImageName property.

Declaration
public RenderImage(string imageName)
Public Sub New(imageName As String)
Parameters
Type Name Description
string imageName

A string that is assigned to the ImageName property.

RenderImage(Image, Style)

Initializes a new instance of the RenderImage class, assigning the Image property, and specifying a Style to use.

Declaration
public RenderImage(Image image, Style style)
Public Sub New(image As Image, style As Style)
Parameters
Type Name Description
Image image

An Image that is assigned to the Image property.

Style style

A Style to use (the AssignNonInheritedFrom(Style) method is used to copy the specified style to the current object's Style).

RenderImage(string, Style)

Initializes a new instance of the RenderImage class, assigning the Image property, and specifying a Style to use.

Declaration
public RenderImage(string imageName, Style style)
Public Sub New(imageName As String, style As Style)
Parameters
Type Name Description
string imageName

A string that is assigned to the ImageName property.

Style style

A Style to use (the AssignNonInheritedFrom(Style) method is used to copy the specified style to the current object's Style).

RenderImage(Image, ImageAlign)

Initializes a new instance of the RenderImage class, assigning the Image property, and specifying a ImageAlign to use.

Declaration
public RenderImage(Image image, ImageAlign imageAlign)
Public Sub New(image As Image, imageAlign As ImageAlign)
Parameters
Type Name Description
Image image

An Image that is assigned to the Image property.

ImageAlign imageAlign

An ImageAlign that is assigned to ImageAlign of the current object's Style.

RenderImage(string, ImageAlign)

Initializes a new instance of the RenderImage class, assigning the Image property, and specifying a ImageAlign to use.

Declaration
public RenderImage(string imageName, ImageAlign imageAlign)
Public Sub New(imageName As String, imageAlign As ImageAlign)
Parameters
Type Name Description
string imageName

A string that is assigned to the ImageName property.

ImageAlign imageAlign

An ImageAlign that is assigned to ImageAlign of the current object's Style.