Version

AddRule(Single,Single) Method

Creates a new horizontal rule object that implements the IRule interface and adds it to the internal collection of objects.
Syntax
'Declaration
 
Overloads Function AddRule( _
   ByVal left As Single, _
   ByVal top As Single _
) As IRule
IRule AddRule( 
   float left,
   float top
)

Parameters

left
X-coordinate of the object.
top
Y-coordinate of the object.

Return Value

An object that implements the IRule interface.
Requirements

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

See Also