MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Setting the ResultFormat in a ASP.NET WebApplication.

  • To: mathgroup at smc.vnet.net
  • Subject: [mg54963] Re: Setting the ResultFormat in a ASP.NET WebApplication.
  • From: "Javier Chicote" <goraperas at hotmail.com>
  • Date: Tue, 8 Mar 2005 05:03:49 -0500 (EST)
  • References: <d0e6mf$orp$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi Todd,

Thank you very much for your explanation. The code that finally worked was:

Global.mathKernel.ResultFormat =
Wolfram.NETLink.MathKernel.ResultFormatType.StandardForm;

instead of:

Global.mathKernel.ResultFormat = MathKernel.ResultFormatType.StandardForm;

Regards,

Javier Chicote

P.D. I think that I sent you by error just 5 minutes ago the same email of
last week, please ignore it because you have already solved my problem. ;-)



"Todd Gayley" <tgayley at wolfram.com> escribió en el mensaje
news:d0e6mf$orp$1 at smc.vnet.net...
> At 12:34 AM 3/5/2005, Javier Chicote wrote:
> >Hi,
> >
> >The ResultFormat of the MathKernel is set to "OutputForm" as default, and
I
> >would like to set it to other ResultFormatTypes, like "StandardForm" or
> >"MathML". How can I do this? It says that I cannot convert a string to
> >'Wolfram.NETLink.MathKernel.ResultFormatType' when I do like this:
> >
> >Global.mathKernel.ResultFormat = "StandardForm";
> >
> >or like this:
> >
> >Global.mathKernel.ResultFormat =
> >(Wolfram.NETLink.MathKernel.ResultFormatType) "StandardForm";
> >
> >How can I set the ResultFormat then?
>
>
> Javier,
>
> ResultFormatType is an enum, so you use its values like this:
>
>      Global.mathKernel.ResultFormat =
MathKernel.ResultFormatType.StandardForm;
>
>
> Todd Gayley
> Wolfram Research
>



  • Prev by Date: Re: hunting down problems with my code
  • Next by Date: Re: Help on iteration
  • Previous by thread: Re: Setting the ResultFormat in a ASP.NET WebApplication.
  • Next by thread: Re: Setting the ResultFormat in a ASP.NET WebApplication.