MathGroup Archive 2001

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

Search the Archive

Re: Generating bitmap graphics, not Postscript

On Wed, 23 May 2001, Simon Chandler wrote:

> That's probably the solution I'll use, but my curiosity has been
> roused by the FrontEndTokenExecute method. You suggested I look in the
> file, which I have done. The relevant part seems to be:
> 	Menu["Cell", 
> 	{
> 		Menu["Convert To", 
> 		{
> 			Item["InputForm", "SelectionConvert"->InputForm, MenuKey["I", Modifiers->{Command, Shift}]],
> 			Item["OutputForm", "SelectionConvert"->OutputForm],
> 			Item["First Convert to BoxForm", "MenuListConvertFormatTypes", MenuAnchor->True],
> 			Delimiter,
> 			Item["PostScript", "SelectionConvert"->"PostScript"],
> 			Item["Bitmap", "SelectionConvert"->"Bitmap"],
> 			Item["PICT", "SelectionConvert"->"PICT"],
> 			Item["Bitmap PICT", "SelectionConvert"->"PICTBitmap"],
> 			Item["Embedded PS PICT", "SelectionConvert"->"PICTEmbeddedPS"],
> 			Item["QuickTime", "SelectionConvert"->"QuickTime"]
> 		}],
> How do I use "SelectionConvert"->"Bitmap" to call the conversion?  
> I've tried various ways but it won't work.  Unfortunately I don't have
> access to the book you mentioned.

For these things, you have to use a somewhat different syntax.

	FrontEndToken[SelectedNotebook[], "SelectionConvert", "Bitmap"]

P.J. Hinton
User Interface Programmer                         paulh at
Wolfram Research, Inc.
Disclaimer: Opinions expressed herein are those of the author alone.

  • Prev by Date: Re: flat box under RealTime3D
  • Next by Date: Re: Generating bitmap graphics, not Postscript
  • Previous by thread: Generating bitmap graphics, not Postscript
  • Next by thread: Re: Generating bitmap graphics, not Postscript