Version

ImageBackgroundStretchMargins Constructor(Int32,Int32,Int32,Int32)

Initializes a new ImageBackgroundStretchMargins object.
Syntax
'Declaration
 
Public Function New( _
   ByVal left As Integer, _
   ByVal top As Integer, _
   ByVal right As Integer, _
   ByVal bottom As Integer _
)
public ImageBackgroundStretchMargins( 
   int left,
   int top,
   int right,
   int bottom
)

Parameters

left
The size of the left margin in pixels. The left margin extends from the left edge of the image rightwards. The value of left must be greater than or equal to 0.
top
The size of the top margin in pixels. The top margin extends from the top edge of the image downwards. The value of top must be greater than or equal to 0.
right
The size of the right margin in pixels. The right margin extends from the right edge of the image leftwards. The value of right must be greater than or equal to 0.
bottom
The size of the bottom margin in pixels. The bottom margin extends from the bottom edge of the image upwards. The value of bottom must be greater than or equal to 0.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also