fcMTblPrintLine

Classes ››
Parent Previous Next

fcMTblPrintLine

This class is used to define a title, total, page header or page footer in fcMTblPrintParams.

Instance Variables
LeftText
String: Left text of the line.

CenterText
String: Center text of the line.

RightText
String: Right text of the line.

PosTexts[*]
Array of fcMTblPrintLinePosText: Contains the positioned texts. Don't modify, use the corresponding functions.

PosTextCount
Number: Number of positioned texts. Don't modify.

FontSizeMulti
Number: Font size multiplicator, 1 = size of the table font. If e.g. the font size shall be twice as in the table, set it to 2.

FontEnh
Number: Font enhancements. One or more of the FONT_Enh constants.

FontColor
Number: Color of the font.

LeftImage
Number: Handle of the left image or 0 to display no left image.

CenterImage
Number: Handle of the center image or 0 to display no center image.

RightImage
Number: Handle of the right image or 0 to display no right image.

Flags
Number: Any combination of the following constants:

MTPL_NO_IMAGE_SCALE

The line's images aren't scaled

MTPL_NO_TEXT_SCALE

The line's texts ( incl. positioned texts ) aren't scaled

Functions
AddPosText
Assign
DeletePosTexts
Init

Remarks
You can use the following placeholders in texts:

%PAGENR%

Current page

%PAGECOUNT%

Total number of pages. If you use this placeholder, the total number of pages is determined before the first page is printed or displayed in the preview. Dependent on the number of rows in the table this takes some time.

To print something like "Page 3 of 27", set the text to "Page %PAGENR% of %PAGECOUNT%".

See also
Printing

Created with the Personal Edition of HelpNDoc: Write eBooks for the Kindle