Search Locate Previous Next Contents

How to Add Special Effects

ewleaf can improve the impact of your text with two simple special effects. Drop caps can be used to highlight the first letter of a section so that the eye is naturally drawn to the correct starting point. This is particularly useful in multi-column layouts to give a clear starting point for a new section.

Sometimes you need to wrap text around a bitmap – typically a screen shot – which is handled similarly. The BitmapLeft function takes the name of a bitmap file and an optional scan resolution (default 96dpi for screen shots) and places it at the left indent point in the current frame. The next paragraph(s) will wrap around the rectangular region made by the bitmap.

Drop Caps
To print the first character of a section oversize:

leaf.DropCap 1†para
leaf.Flow 1‡para

The default is to use the current font, and to span 2 lines of normal text at the current pitch. To use a different number of lines, optionally in a different font:

leaf.DropCap 'T' 5 'heb'  © 5 line drop, Helvetica bold

Wrapping around bitmaps
To add a screen snap or scanned image at the left margin:

leaf.BitmapLeft 'shot5.bmp'
leaf.BitmapLeft 'artwork.bmp' 300

... assuming your scanner was set at 300dpi for the artwork.



Continue to: How to use Multiple Columns
© Copyright Causeway Graphical Systems Ltd 2001