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




control
The control to get height for
actualBorderWidth
The border width for the control
Gets the adjusted image height

Syntax

Visual Basic (Declaration) 
Public Shared Function GetAdjustedImageHeight( _
   ByVal control As WebControl, _
   ByVal actualBorderWidth As Double _
) As Integer
Visual Basic (Usage)Copy Code
Dim control As WebControl
Dim actualBorderWidth As Double
Dim value As Integer
 
value = RenderUtility.GetAdjustedImageHeight(control, actualBorderWidth)
C# 
public static int GetAdjustedImageHeight( 
   WebControl control,
   double actualBorderWidth
)

Parameters

control
The control to get height for
actualBorderWidth
The border width for the control

Return Value

The adjusted image height

See Also

© 2010 All Rights Reserved.