[]
Set C1PdfDocument as the rendering target to generate PDF output.
The following example renders a FlexChart to a PDF document.
using C1.Chart;
using C1.Chart.Standard;
using C1.Pdf;
var chart = new FlexChart();
// Configure the chart.
using (var doc = new C1PdfDocument())
{
float margin = 72;
float width = doc.PageSize.Width - 2 * margin;
float height = (doc.PageSize.Height - 2.5f * margin) / 2;
chart.Render(doc, margin, margin, width, height);
doc.Save("Chart.pdf");
}The rectangle passed to Render is specified in points.