HtmlImage.Border Property

 

Gets or sets the width of a frame for an image.

Namespace:   System.Web.UI.HtmlControls
Assembly:  System.Web (in System.Web.dll)

member Border : int with get, set

Property Value

Type: System.Int32

The width (in pixels) of a frame for an image.

Use this property to create a frame with the specified width (in pixels) for an image.

The following code example demonstrates how to use the Border property to specify a frame with a width of 5 pixels for an HtmlImage control.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: