|
||
Two miscellaneous features are also accessed via the presentation class. While these are not directly associated with PowerPoint, they do provide useful administrative functions.
This feature allows you to view the Builder version details. To access the Builder version use:
static java.lang.String getVersion()
The content length element allows you to determine the length of a presentation (in bytes) when it has been written using one of the write methods. See the Writing Presentations section earlier in this chapter for more about options for writing presentations.
This is a very useful feature when presentations are being streamed in a web environment. It allows the HTTP content-length header to be correctly set without the need to cache the output presentation.
To determine the length of a presentation (in bytes) when it is written use:
long getContentLength()
|
||
| Page generated: 2008-01-18 02:53:28 GMT | TonicPoint Builder Developer's Guide -- Version 2.3 |