The following code adds two horizontal lines to a document. The
first is blue, and the second is green.
Set theDoc = Server.CreateObject("ABCpdf12.Doc")
theDoc.Width = 24
theDoc.Color = "0 0 255"
theDoc.AddLine -50, 100, 999, 100
theDoc.Color = "0 255 0"
theDoc.AddLine -50, 400, 999, 400
theDoc.Save "c:\mypdfs\docaddline.pdf"

docaddline.pdf
|
|
|