Leadtools.Web Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
ImageBorderSize Property
See Also 
Leadtools.Web.Controls Namespace > WebImageViewer Class : ImageBorderSize Property




Gets or sets the number of pixels to leave as buffer between the control and the image.

Syntax

Visual Basic (Declaration) 
Public Property ImageBorderSize As Integer
Visual Basic (Usage)Copy Code
Dim instance As WebImageViewer
Dim value As Integer
 
instance.ImageBorderSize = value
 
value = instance.ImageBorderSize
C# 
public int ImageBorderSize {get; set;}
C++/CLI 
public:
property int ImageBorderSize {
   int get();
   void set (int value);
}
JavaScript 
getImageBorderSize(): integer;
setImageBorderSize(value: integer);

Return Value

The number of pixels to leave as buffer between the control and the image.

Example

Remarks

Default value is 0 (no image border).

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also