Version

VmlLine Class

Renders a straight line using Vector Markup Language (VML)
Syntax
'Declaration
 
Public Class VmlLine 
   Inherits VmlShape
public class VmlLine : VmlShape 
Remarks

The origin for a line is always implied to be the top-left corner of it bounding rectangle. When the bounding rectangle's height is non-zero, the slope of the line is negative (resembles a backslash); to make the slope positive, set the InvertY property to true.

To render a horizontal line, set the Height component of the Size property to zero.

To render a vertical line, set the Width component of the Size property to zero.

Requirements

Target Platforms: Windows 8.1, Windows 8.1, Windows 8, 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

View on GitHub