Spread for ASP.NET 11 Product Documentation
ImageRenderer Constructor(String,Boolean)


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Renderer Namespace > ImageRenderer Class > ImageRenderer Constructor : ImageRenderer Constructor(String,Boolean)
Path and file name of the picture to display in the image cell
Whether the text is displayed on the right side of the image
Creates an image cell renderer control with the specified picture and text alignment.
Syntax
'Declaration
 
Public Function New( _
   ByVal imageUrl As String, _
   ByVal textOnRight As Boolean _
)
'Usage
 
Dim imageUrl As String
Dim textOnRight As Boolean
 
Dim instance As New ImageRenderer(imageUrl, textOnRight)
public ImageRenderer( 
   string imageUrl,
   bool textOnRight
)

Parameters

imageUrl
Path and file name of the picture to display in the image cell
textOnRight
Whether the text is displayed on the right side of the image
Remarks
Initializes an instance of the ImageRenderer class, with the specified picture and text alignment.
See Also

Reference

ImageRenderer Class
ImageRenderer Members
Overload List