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




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

Syntax

Visual Basic (Declaration) 
Public Shared Function GetAdjustedImageWidth( _
   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.GetAdjustedImageWidth(control, actualBorderWidth)
C# 
public static int GetAdjustedImageWidth( 
   WebControl control,
   double actualBorderWidth
)

Parameters

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

Return Value

The adjusted image width

See Also

© 2010 All Rights Reserved.