Functions and Directives

Function GraSegClose() Foundation

Ends the definition of a graphic segment.

GraSegClose( [<oPS>] ) --> lSuccess
The argument <oPS> specifies the presentation space in which the definition of a graphic segment is closed. If the current window is an XbpCrt window, <oPS>is optional. If it is NIL, the return value of SetAppWindow():presSpace() is used. In all other cases <oPS> is not optional. It must be created using XbpPresSpace():new(). A "Micro PS" cannot be used for this function.

The return value of GraSegClose() is .T. (true) when the segment was closed, otherwise it is .F. (false). If the return value equals .F., the cause of error can be determined by GraError().


The function GraSegClose() closes the definition of a graphic segment. It must always be executed after a call of GraSegOpen() (see GraSegOpen()).


If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.