WordCharAttr Method

[Top]  [Chapter]  [Previous]  [Next]

Applies to

IWPTextCursor

Declaration

function WordCharAttr(const AWord: WideString; CaseSensitive: WordBool; OnylActiveText: WordBool; CharAttrIndex: Integer): Integer;

Description

Method to assign a certain character attribute index to certain words in the text.

Parameters

AWord

The word to search for

CaseSensitive

true to work case sensitive

OnlyActiveText

true to only work in current text block

CharAttrIndex

New character attribute index

Category

Character Attributes


[idh_iwptextcursor_wordcharattr.htm]    Copyright © 2007 by WPCubed GmbH