WEBMATHEMATICA SYMBOL
MSPPageOptions
MSPPageOptions[opts]
set global options about the current page
DetailsDetails
- The following options can be set by MSPPageOptions.
-
ContentType sets the content type of the returned page MinimumVersion requires that the page runs in particular versions of webMathematica - The following exceptions can be thrown by MSPPageOptions.
-
MSPException["VersionError"] if an older version of webMathematica is requested
The ContentType option provides similar functionality to MSPReturn. It is different in that it returns the entire page, whereas MSPReturn returns only its first argument.
ExamplesExamplesopen allclose all
Basic Examples (1)Basic Examples (1)
In this example the ContentType option is set to return MathML. If the browser is configured correctly, it will launch an appropriate MathML helper application.
<msp:evaluate>
MSPPageOptions[ ContentType -> "text/mathml"]
</msp:evaluate>
<msp:evaluate>
MSPFormat[ Integrate[ 1/(1-x^3),x], StandardForm, RawMathML]
</msp:evaluate>
In this example the MinimumVersion option is set to require that the page should be run in webMathematica Version 3.0 or higher. Otherwise an MSPException will be thrown.
This option is provided for use in future versions of webMathematica.
- Services
- Technical Consulting
- Corporate Consulting
- Company
- Events
- About Wolfram
- Careers
- Contact
- Connect
- Wolfram Community
- Wolfram Blog
- Newsletter
© 2024 Wolfram. All rights reserved.