SharpPlot Reference > SharpPlot Methods > RenderEps Method

SharpPlot.RenderEps Method

Return completed chart rendered through EPS engine.


string mono = sp.RenderEps(1,true); // render first page as monochrome

Return Value

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.


See also ...

SharpPlot Members | SharpPlot.TitleBar Property | SharpPlot.SaveEps Method

Send comments on this topic
© Dyalog Ltd 2021