|
We iterate through each of the fields in our list. For each field
we get the field page and the field rectangle. We set the document
page and rectangle so that we're drawing over the top of our annotation.
We then color the rectangle light gray and draw the name of the
field in dark red.
For i = 0 To UBound(theIDs)
theID = theIDs(i)
theDoc.Page = theDoc.GetInfo(theID, "Page")
theDoc.Rect = theDoc.GetInfo(theID, "Rect")
theDoc.Color = "240 240 255"
theDoc.FillRect
theDoc.Rect.Height = 16
theDoc.Color = "220 0 0"
theDoc.AddText theDoc.GetInfo(theID, "Name")
theDoc.Delete theID
Next
|