Creates a new horizontal rule object that implements the
IRule interface and adds it to the internal collection of objects.
Parameters
- left
- X-coordinate of the object.
- top
- Y-coordinate of the object.
Return Value
An object that implements the
IRule interface.
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