The following code adds two ovals to a document. The outline
oval is semi-transparent.
using var doc = new Doc();
doc.Width = 80;
doc.Rect.Inset(50, 50);
doc.Color.String = "255 0 0";
doc.AddOval(true);
doc.Color.String = "0 255 0 128";
doc.AddOval(false);
doc.Save(Server.MapPath("docaddoval.pdf"));
Using doc As New Doc()
doc.Width = 80
doc.Rect.Inset(50, 50)
doc.Color.String = "255 0 0"
doc.AddOval(True)
doc.Color.String = "0 255 0 128"
doc.AddOval(False)
doc.Save(Server.MapPath("docaddoval.pdf"))
End Using