Leadtools.Web Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
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;}
Managed Extensions for C++ 
public: __property int get_ImageBorderSize();
public: __property void set_ImageBorderSize( 
   int value
);
C++/CLI 
public:
property int ImageBorderSize {
   int get();
   void set (int value);
}

Return Value

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

Example

Refer to ImageUrl

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