Search
Group.AttachToCorner Method
See Also
 



Attaches a new node to the group at a certain distance from a corner of the main object.

 Syntax

VB6  Copy Code

Public Sub AttachToCorner( _
    ByVal obj As Object, _
    ByVal corner As Long _
)

C++  Copy Code

public:
void AttachToCorner (
    IDispatch* obj,
    int corner
)

 Parameters

obj
The node that should be attached to the group.
corner
The index of a box or table corner.

 Remarks

Calling this method makes sense only if the main object of the group is either a box or a table. obj - the object that you attach, can be either a box or a table. If the main object is moved or resized, the position of the attached one is updated to retain its placement relative to the reference corner point. The size of the attached object is not altered, just its position. Corner indices are counted from 0, clockwise starting with top-left corner.

 See Also