Common Reference > Document Class > RenderEps Method

Document.RenderEps Method

Return a document page rendered as Encapsulated PostScript.



The result of this call is a string representation of an Encapsulated PostScript document. It is a single-page PostScript file that may be written to file as text for inclusion in a compound document which is to be printed on any PostScript device. If the final output is to be monochrome, it is better to have SharpPlot render the chart in black and white at this point, rather than rely on the printer to greyscale it.

Note that this does not save any preview information in the file, so if it is printed on a non-PostScript printer all the images will show only as placeholders, with the chart title and date of creation as notes.

If you require any ‘special’ PostScript to be run on the front of the file, you may include it as the third parameter.


   eps = doc.RenderEps(1);  // Render first page

See also ...

SharpPlot.RenderEps Method | Document.Members | Document.RenderPS Method | Document.SaveEps Method

Send comments on this topic
© Dyalog Ltd 2021