| Search Locate Previous Next | Contents |
This allows you to add arbitrary line-drawing elements to the page. This might be used in conjunction with leaf.PushFrame to make organisation charts, data-flow diagrams and so on. You can set line-styles, colours and weights in advance:
© Simple coloured box leaf.vml.Colour 2 leaf.vml.Nib 4 leaf.vml.Polyline 5 2½100 700 200 700 200 800 100 800 100 700
You can also choose to fill the closed polyline:
leaf.vml.Colour 12 leaf.vml.Fill 15 © Pattern-15 is solid leaf.vml.Polyline 20+5 2½100 700 200 700 200 800 100 800 100 700
In this release, you may give colour, pattern and style numbers only here. All co-ordinate values are in points, with the origin at the lower left-hand corner of the paper.
See also ...
leaf.vml.GRestore restore co-ordinate system
leaf.vml.GSave save co-ordinate system