GoDiagram Web Reference
CloseFigure(Int32) Method

Any index in the figure
Closes the figure containing the given index.
Syntax
'Declaration
 
Public Overloads Sub CloseFigure( _
   ByVal i As Integer _
) 
public void CloseFigure( 
   int i
)

Parameters

i
Any index in the figure
Remarks

A closed figure will be filled with a brush if one is set, and will have a line drawn from its end point to its start point, if they are not already at the same point.

This method is different from CompleteFigure(Int32) because this results in the figure being filled with a brush, whereas CompleteFigure(Int32) causes the figure to be left unfilled when painted.

Requirements

Target Platforms: 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

Reference

GoDrawing Class
GoDrawing Members
Overload List
OpenFigure Method
IsClosedFigure Method

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback