Spread ASP.NET 6.0 Product Documentation
ImageRenderer Constructor(String,Boolean)
See Also  Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Renderer Namespace > ImageRenderer Class > ImageRenderer Constructor : ImageRenderer Constructor(String,Boolean)


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

Glossary Item Box

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

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal imageUrl As String, _
   ByVal textOnRight As Boolean _
)
Visual Basic (Usage)Copy Code
Dim imageUrl As String
Dim textOnRight As Boolean
 
Dim instance As New ImageRenderer(imageUrl, textOnRight)
C# 
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.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.