Next: Object related Commands Up: The available Commands Previous: Document related Commands   Index

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. page numbers 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 page numbers 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.
SavePageAsEPS(``name'')
Saves the actual page as an EPS, returns true if successful.