[]
        
(Showing Draft Content)

C1.C1Preview.RenderImage.-ctor

RenderImage Constructor

RenderImage()

Initializes a new instance of the RenderImage class.

Declaration
public RenderImage()

RenderImage(Image)

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

Declaration
public RenderImage(Image 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)
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)
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)
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)
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)
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.