Next: 3.3 Object related Commands Up: 3. The available Commands Previous: 3.1 Document related Commands   Index

3.2 Page related Commands

CurrentPage()
Returns the Number of the current working Page. Pagenumbers are counted from 1 upwards.
DeletePage(nr)
Deletes the given Page, does nothing if the Document contains only one Page. Pagenumbers are counted from 1 upwards.
GetAllObjects()
Returns a List containing the Names of all Objects on the actual Page.
GotoPage(nr)
Moves to the Page ``nr''. If ``nr'' is outside the current rage of Pages nothing happens.
NewPage(where, [``template''])
Creates a new Page If ``where'' is -1 the new Page is appended to the Document, otherwise the new Page is inserted at ``where''. The Pagenumbers are counted from 1 upwards. The optional Parameter ``template'' specifies the Name of the Template Page for the new Page.
PageCount()
Returns the Number of Pages in the Document.
RedrawAll()
Redraws all Pages.
SetRedraw(bool)
Disables Page Redraw when bool = 0, otherwise redrawing is enabled.
SavePageAsEPS(``name'')
Saves the actual Page as an EPS, returns true if successful.

Next: 3.3 Object related Commands Up: 3. The available Commands Previous: 3.1 Document related Commands   Index