| Contents > SharpPlot > Methods | Index |
SharpPlot.RenderEps Method
Return completed chart rendered through EPS engine.
Example
string eps = sp.RenderEps(); string mono = sp.RenderEps(true);
Return Value
The result of this call is a string representation of an Encapsulated PostScript document. This 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.
Overloads
- public string RenderEps();
- public string RenderEps(bool forceMonochrome);
- public string RenderEps(bool forceMonochrome,string prefix);
If you require any special PostScript to be run on the front of the file, you may include it as the third parameter.
