SpreadsheetDocument.PageCount
PageCount()
Type:
Number.
Obtains a number of pages in the document with current print settings.
Server, thick client, external connection.
If there is a problem obtaining information about the current printer (for example, no printer is set in the system), exception will be called.