Function TParagraph.GetCharAttrIndexAt(posinpar:Integer; CheckProtection:TWPInternalCheckProtect; DontReadAttributeBeforeSpace:Boolean) : Cardinal

Unit: WPRTEDefs
Class: WPRTEDefs.TParagraph

Parameters

  • posinpar:Integer
  • CheckProtection:TWPInternalCheckProtect
  • DontReadAttributeBeforeSpace:Boolean

Returns

The type of the result value is Cardinal.

Description

Retrieves the writing mode as index - works like GetCharAttrAt.
Note: In contrast to this method does NOT check previous and next paragraphs to accquire the attribute index!
If the callback CheckProtection was specified only not protected characters will be examined and spaces are not checked.