Click to expand/collapse this hidden textCol_Create:cHandle;

Function

EscapeE only

COL_CREATE function creates a column-formatting resource. All "text in column" formatting procedures require a column object handle - CHANDLE. There must be a corresponding COL_FREE call for each COL_CREATE function.

cx:=col_create;
for i:=1 to 30 do col_text(cx,'hello world ');
col_compose(cx,4200,'rj');
col_display(cx,300,2600);
col_free(cx);

Column example

Click to expand/collapse this hidden textCol_Text(Cx:cHandle;S:string);

Procedure

EscapeE only

COL_TEXT adds text S to a "text in column" formatting object referenced by column object handle CX. No text is drawn by this operation. Any amount of text may be added before the object is composed and displayed.

Use COL_FONT and COL_STYLE procedures to control the font face and style used by COL_TEXT.

Column example

Click to expand/collapse this hidden textCol_Font(Cx:cHandle;Pt:number;FontName:string);

Procedure

EscapeE only

COL_FONT selects the font to be used for the COL_TEXT procedure.

col_Font(cx,12,'Tahoma');

Column example

Click to expand/collapse this hidden textCol_Style(Cx:cHandle;Style:string);

Procedure

EscapeE only

COL_STYLE selects the font style to be used for the COL_TEXT procedure.

STYLE options are BOLD and ITALIC; an empty string selects "NORMAL" style.

col_Style(cx,'Bold');

Column example

Click to expand/collapse this hidden textCol_Compose(Cx:cHandle;Width:number;Format:string);

Procedure

EscapeE only

COL_COMPOSE prepares the "text in column" formatting object for display. Specify a column WIDTH (in pixels at 600dpi) and a column FORMAT option - 'LJ', 'CJ', 'RJ' or 'FILL'. The column's height and line count properties are calculated for the chosen option; these values may be recovered using the COL_HEIGHTand COL_COUNT functions. The stored text is not destroyed by this procedure and it may be repeated for the same text with different parameters.

Column example

See also COL_LEADING procedure.

Click to expand/collapse this hidden textCol_Display(Cx:cHandle;X,Y:number);

Procedure

EscapeE only

COL_DISPLAY draws text, previously formatted using the COL_COMPOSE procedure, at the specified position X,Y on the page. The stored text is not destroyed by this procedure and it may be repeated for the same text with different parameters.

Column example

Click to expand/collapse this hidden textCol_Free(Cx:cHandle);

Procedure

EscapeE only

COL_FREE recovers column formatting resources. See COL_CREATE function.

Column example

Click to expand/collapse this hidden textCol_Break(Cx:cHandle);

Procedure

EscapeE only

COL_BREAK inserts a line break in a column formatting object.

Column example

Click to expand/collapse this hidden textCol_Blank(Cx:cHandle;Lines:number);

Procedure

EscapeE only

COL_BLANK inserts a number of blank LINES in a column formatting object.

Column example

Click to expand/collapse this hidden textCol_Height(Cx:cHandle):number;

Function

EscapeE only

COL_HEIGHT returns the composed height of a column.

Column example

See also COL_COUNT function and COL_COMPOSE, COL_LEADING procedures.

Click to expand/collapse this hidden textCol_Count(Cx:cHandle):number;

Function

EscapeE only

COL_COUNT returns the number of lines in a composed column (see COL_COMPOSE procedure).

Column example

Click to expand/collapse this hidden textCol_Leading(Cx:cHandle;L:number);

Procedure

EscapeE only

COL_LEADING allows the inter-line gap to be adjusted before a column is displayed (see COL_DISPLAY procedure).

Column example