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). Setting the InvertY property switches the orientation of the y-axis, making the slope of the line positive.
In the case where either the width or height component of the Size is zero, this property has no effect.
Target Platforms: Windows 10, 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