|
The following code adds a transparent green outlined star over
the top of a red filled star.
[C#]
Doc theDoc = new Doc();
theDoc.Width = 80;
theDoc.Color.String = "255 0 0";
theDoc.AddPoly("124 158 300 700 476 158 15 493 585 493 124
158", true);
theDoc.Color.String = "0 255 0 a128";
theDoc.AddPoly("124 158 300 700 476 158 15 493 585 493 124
158", false);
theDoc.Save(Server.MapPath("docaddpoly.pdf"));
theDoc.Clear();
[Visual Basic]
Dim theDoc As Doc = New Doc()
theDoc.Width = 80
theDoc.Color.String = "255 0 0"
theDoc.AddPoly("124 158 300 700 476 158 15 493 585 493 124
158", True)
theDoc.Color.String = "0 255 0 a128"
theDoc.AddPoly("124 158 300 700 476 158 15 493 585 493 124
158", False)
theDoc.Save(Server.MapPath("docaddpoly.pdf"))
theDoc.Clear()

docaddpoly.pdf
|
|
|