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
Initializes an instance of the ImageRenderer class, with the specified picture and text alignment.
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6