| Contents > SharpPlot > Methods | Index |
SharpPlot.RenderPS Method
Return chart rendered as raw PostScript.
Example
sp.RenderPS(false,true); // for Distiller
Return Value
The result of this call is a string representation of a PostScript document. This may be written to file as text or directly to 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.
If you want to use Acrobat Distiller to create a PDF from the chart, be sure to include the media information which will set the papersize to the same size as the chart.
Overloads
- public string RenderPS();
- public string RenderPS(bool forceMonochrome);
- public string RenderPS(bool forceMonochrome,bool mediaBox);
- public string RenderPS(bool forceMonochrome,bool mediaBox,string prologue);
