IWPTextCursor.SelectCell |
[Top] [Chapter] [Previous] [Next] |
Applies to Declaration void SelectCell( bool AddToSelection); Description Activate the selection mode for the current cell. It is possible to select several cells to apply an attribute using CuurSelAttr.
Part 1: Select cells
TextCursor.SelectCell(true); TextCursor.CPMoveNextCell(); TextCursor.SelectCell(true); TextCursor.CPMoveNextRow(false); TextCursor.SelectCell(true);
Part 2: Set Shading
Memo.CurrSelAttr.AttrSET((int)WPAT.ShadingValue, 10); Memo.CurrSelAttr.AttrSET((int)WPAT.FGColor, 2); TextCursor.HideSelection();
|