ESRI.ArcGIS.ADF.Web.UI.WebControls
ConstructHtml Method
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls.RenderingEngine Namespace > RenderUtility Class : ConstructHtml Method




control
The carto display control to get rendering for
controlID
The UniqueID of the control
cellName
The table cell in which the control will be rendered
actualBorderWidth
The actual border width for the control
adjustedImageWidth
The adjusted image width for the control
adjustedImageHeight
The adjusted image height for the control
dragBoxColor
The drag box color
toolTip
The tool tip for the control
browserName
The browser in which the control is rendering
Gets the HTML rendering for the control

Syntax

Visual Basic (Declaration) 
Public Shared Function ConstructHtml( _
   ByVal control As CartoDisplay, _
   ByVal controlID As String, _
   ByVal cellName As String, _
   ByVal actualBorderWidth As Double, _
   ByVal adjustedImageWidth As Integer, _
   ByVal adjustedImageHeight As Integer, _
   ByVal dragBoxColor As Color, _
   ByVal toolTip As String, _
   ByVal browserName As BrowserName _
) As String
Visual Basic (Usage)Copy Code
Dim control As CartoDisplay
Dim controlID As String
Dim cellName As String
Dim actualBorderWidth As Double
Dim adjustedImageWidth As Integer
Dim adjustedImageHeight As Integer
Dim dragBoxColor As Color
Dim toolTip As String
Dim browserName As BrowserName
Dim value As String
 
value = RenderUtility.ConstructHtml(control, controlID, cellName, actualBorderWidth, adjustedImageWidth, adjustedImageHeight, dragBoxColor, toolTip, browserName)
C# 
public static string ConstructHtml( 
   CartoDisplay control,
   string controlID,
   string cellName,
   double actualBorderWidth,
   int adjustedImageWidth,
   int adjustedImageHeight,
   Color dragBoxColor,
   string toolTip,
   BrowserName browserName
)

Parameters

control
The carto display control to get rendering for
controlID
The UniqueID of the control
cellName
The table cell in which the control will be rendered
actualBorderWidth
The actual border width for the control
adjustedImageWidth
The adjusted image width for the control
adjustedImageHeight
The adjusted image height for the control
dragBoxColor
The drag box color
toolTip
The tool tip for the control
browserName
The browser in which the control is rendering

Return Value

The HTML string for rendering the control

See Also

© 2010 All Rights Reserved.