Technical Reference > Graphics Builder Automation Interface > Page Functions > PageClose

PageClose

Closes the current page. This function will also close an unsaved page.

Syntax

PageClose

Return Value

0 (zero) if successful, otherwise an error is returned.

Note: For details on handling return and error values, see Error Handling.

Related Functions

PageNew, PageOpen, PageSaveAs, PageSave

Example

' Closes the current CitectSCADA graphics page
GraphicsBuilder.PageClose