Thanks to Mike, Larry, & alpine suggestions and help, I now have the
VB Pologon function wrapped up in an ActiveX DLL. I conluded the code
in a DLL I had already created that wrapped up the VB Printer Object
for use in scripting.
To demonstrate "proof of concept" (mostly to myself), I used the math
function of Object Rexx to compute the starting X/Y and ending X/Y of
all legs of a land plot. I then used the VB Printer.Drawline BIF to
"plot" the lines on the page. Before sending EndDoc, I used the same
coordinates and sent them to the Polygon function. I realize that a
Polygon can draw borders, but I wanted to see how close my
calculations were in converting the line coordinates that were in
inches to the pixels needed by Polygon. It is an "exact" overlay :-).
I don't know how readers of this group feel about "attached" files,
but this is a small .pdf of the output.
This file was "printed" using the Object Rexx scripting language in
conjunction with "my" RxVB.PrinterObject.dll (ActiveX DLL).
Thanks again for all the help - any comments welcome.Lee Peedin
VP RexxLA www.rexxla.org
Start planning now for the 25th Anniversary of Rexx Symposium,
Spring 2004 in Boeblingen, Germany.