Version

Top Property (ImageBackgroundStretchMargins)

The size of the top margin in pixels.
Syntax
'Declaration
 
Public ReadOnly Property Top As Integer
public int Top {get;}
Remarks

The top margin extends from the top edge of the image downwards. The value of top must be greater than or equal to 0.

If a top margin is specified (greater than 0), then when the image is stretched, the to part of the image up to the margin will not be stretched vertically.

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