[]
        
(Showing Draft Content)

FarPoint.Web.Spread.Renderer.ImageRenderer.-ctor

ImageRenderer Constructor

ImageRenderer()

Creates a new image cell renderer control.

Declaration
public ImageRenderer()
Public Sub New()

ImageRenderer(string)

Creates an image cell renderer control with the specified picture.

Declaration
public ImageRenderer(string imageUrl)
Public Sub New(imageUrl As String)
Parameters
Type Name Description
string imageUrl

Path and file name of the picture to display in the image cell

ImageRenderer(string, bool)

Creates an image cell renderer control with the specified picture and text alignment.

Declaration
public ImageRenderer(string imageUrl, bool textOnRight)
Public Sub New(imageUrl As String, textOnRight As Boolean)
Parameters
Type Name Description
string imageUrl

Path and file name of the picture to display in the image cell

bool textOnRight

Whether the text is displayed on the right side of the image