Search
AnnealLayout.SetLayoutArea Method
See Also
 



Sets the area in which the layout should operate.

 Syntax

VB6  Copy Code

Public Sub SetLayoutArea( _
    ByVal left As Long, _
    ByVal top As Long, _
    ByVal right As Long, _
    ByVal bottom As Long _
)

C++  Copy Code

public:
void SetLayoutArea (
    int left,
    int top,
    int right,
    int bottom
)

 Parameters

left
The x-coordinate of the left side of the layout area.
top
The y-coordinate of the top side of the layout area.
right
The x-coordinate of the right side of the layout area.
bottom
The y-coordinate of the bottom side of the layout area.

 Remarks

If the layout area is not explicitly set, the algorithm will choose one suitable for the graph size. In that case the WidthHeightRatio property specifies how much larger the layout area width should be than its height.

 See Also