|
The following code creates a PDF document and adds a grid measured
in inches.
Set theDoc = Server.CreateObject("ABCpdf6.Doc")
theDoc.Units = "inches"
theDoc.TopDown = True
theDoc.Width = 1 / 8
theDoc.FontSize = 1
theDoc.Rect.Pin = 1
For i = 0 To 12 Step 2
theDoc.AddLine 0, i, 12, i
theDoc.Rect.Position 0, i
theDoc.AddText i
theDoc.AddLine i, 0, i, 12
theDoc.Rect.Position i, 0
theDoc.AddText i
Next
theDoc.Save "c:\mypdfs\doctopdown.pdf"

doctopdown.pdf
|
|
|