bOk = MTblDefineItemLine( cItem, cLineDef, nLineType )

Sets the line definition of an item ( e.g. a cell ).

Parameters
cItem
fcMTblItem: The item.

cLineDef
fcMTblLineDef: The line definition.

nLineType
Number: The line type ( MTLT_HORZ or MTLT_VERT ).

Return
Boolean: TRUE if successful or FALSE if not

Example
In this example a cell's horizontal and vertical line is defined as follows: Style = solid, Color = Red, Thickness = 3 pixels.

fcMTblItem: Item
fcMTblLineDef: LineDef
...
! Define the item as a cell
Call Item.DefineAsCell( hWndCol, lRow )
! Set the line definition
LineDef.Style = MTLS_SOLID
LineDef.Color = COLOR_Red
LineDef.Thickness = 3
! Define the horizontal line
Call MTblDefineItemLine( Item, LineDef, MTLT_HORZ )
! Define the vertical line
Call MTblDefineItemLine( Item, LineDef, MTLT_VERT )

Remarks
A line thickness greater than 1 is not allowed when line style is MTLS_DOT.
Line definitions are not considered when printing, exporting to Open Office (deprecated) or exporting to HTML (deprecated).

See also
MTblQueryItemLine
MTblQueryEffItemLine
fcMTblItem
fcMTblLineDef
Custom lines

Created with the Personal Edition of HelpNDoc: Easily create iPhone documentation