Printer Compatibility
| Step | Optional. Keyword specifying that the starting point coordinates are relative to the current graphics position given by theCurrentX andCurrentY properties. |
Here is a sample line:
Printer.Line (x * scaleW * curZoom, y * scaleH * curZoom)-
Step(w * scaleW * curZoom, h * scaleH * curZoom), &H0&, BIs "step" supported in a different fasion?
Thanks in advance,
Chris
Yes, since Step is no longer a keyword in VB 2005 we replaced the keyword with a Boolean parameter called RelativeStart and RelativeEnd depending on which one of the Step keywords you are using.
In your example the equivalent syntax would then be:
Printer.Line(False, x * scalew * curzoom, y * scaleh * curzoom, True, w * scalew * curzoom, h * scaleh * curzoom, &H0&, B)
where the RelativeStart (or first parameter) would be False in your case since you were only using the Step keyword for the end of the line or RelativeEnd.