The following code adds two pie slices to a document.
using var doc = new Doc();
doc.Width = 80;
doc.Rect.Inset(50, 50);
doc.Color.String = "255 0 0";
doc.AddPie(0, 90, true);
doc.Color.String = "0 255 0";
doc.AddPie(180, 270, false);
doc.Save(Server.MapPath("docaddpie.pdf"));
Using doc As New Doc()
doc.Width = 80
doc.Rect.Inset(50, 50)
doc.Color.String = "255 0 0"
doc.AddPie(0, 90, True)
doc.Color.String = "0 255 0"
doc.AddPie(180, 270, False)
doc.Save(Server.MapPath("docaddpie.pdf"))
End Using