Search
FlowChart.SetDocSize Method
See Also
 



Sets the size of the diagram scrollable area.

 Syntax

VB6  Copy Code

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

C++  Copy Code

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

 Parameters

left
The left side of the document area.
top
The top side of the document area.
right
The right side of the document area.
bottom
The bottom side of the document area.

 Remarks

Sets document extents. It also adjusts page size and position of the scrollbars (if present). Depending on RestrObjsToDoc property value, no diagram items can be placed outside document extents.

 See Also