[]
Initializes a new instance of the RenderImage class.
public RenderImage()
Initializes a new instance of the RenderImage class, assigning the Image property.
public RenderImage(Image image)
Type | Name | Description |
---|---|---|
Image | image |
Initializes a new instance of the RenderImage class, assigning the ImageName property.
public RenderImage(string imageName)
Type | Name | Description |
---|---|---|
string | imageName | A string that is assigned to the ImageName property. |
Initializes a new instance of the RenderImage class, assigning the Image property, and specifying a Style to use.
public RenderImage(Image image, Style style)
Type | Name | Description |
---|---|---|
Image | image | |
Style | style | A Style to use (the AssignNonInheritedFrom(Style) method is used to copy the specified style to the current object's Style). |
Initializes a new instance of the RenderImage class, assigning the Image property, and specifying a Style to use.
public RenderImage(string imageName, Style style)
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). |
Initializes a new instance of the RenderImage class, assigning the Image property, and specifying a ImageAlign to use.
public RenderImage(Image image, ImageAlign imageAlign)
Type | Name | Description |
---|---|---|
Image | image | |
ImageAlign | imageAlign | An ImageAlign that is assigned to ImageAlign of the current object's Style. |
Initializes a new instance of the RenderImage class, assigning the Image property, and specifying a ImageAlign to use.
public RenderImage(string imageName, ImageAlign imageAlign)
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. |