Function TWPObjectEnv.TextObjectGet(Tag:Integer; LocateInAlltexts:Boolean) : TWPTextObj

Unit: WPRTEDefs
Class: WPRTEDefs.TWPObjectEnv

Parameters

  • Tag:Integer
  • LocateInAlltexts:Boolean

Returns

The type of the result value is TWPTextObj.

Description

Locates the TWPTextObj with a certain ID (or "tag"). It will first search in the current (cursor) RTFDataBlock and then in all others provided LocateInAlltexts = TRUE