Function TParagraph.GetFirstCharAttr : Cardinal

Unit: WPRTEDefs
Class: WPRTEDefs.TParagraph

Returns

The type of the result value is Cardinal.

Description

This function returns the first char-attr index which does not belong to an object unless there are only objects in this paragraph. If CharCount=0 than the 'LoadedChar' attr will be returned.
Implementation:
function TParagraph.GetFirstCharAttr : Cardinal; var i : Integer; begin Result:=LoadedCharAttr; for i:=0 to CharCount-1 do begin Result:=CharAttr[i]; if not IsCharObject(i) then exit; end; end;