EControl Syntax Editor SDK
TecCustomPrinter.PrintField Method

Prints specified field.

procedure PrintField(Canvas: TCanvas; R: TRect; Side: TecPrintSide; Page: integer); virtual;

R specifies print rectangle for the field, in device units. 

Sequence of field printing: 

1. Top field. 

For each line of text 

2. Left field. 

3. Right field. 

4. Line of text. 

5. Bottom field. 

So, top and bottom fields are printed only once per page. Left and right fields are printed for each line of the text in the page, that is many times per page.

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!