LEADTOOLS WebForms and AJAX (Leadtools.Web assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
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);
}

Property 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 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also