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.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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