Creates a new horizontal rule object that implements the
IRule interface and adds it to the internal collection of objects.
'Declaration
Overloads Function AddRule( _
ByVal As System.Single, _
ByVal As System.Single _
) As IRule
IRule AddRule(
System.float ,
System.float
)
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 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