|[Top] [Chapter] [Previous] [Next]|
int EnumTextObj([In] TextObjTypes ObjType, [In] bool OnlyActiveText, [In] string NameStartsWith, [In] int EventParam);
This method allows it to check and modify all text objects in the current document. Such text objects are the tags for bookmarks, hyperlinks, mail merge fields and also embedded images and text object fields.
The event OnEnumTextObj is triggered for each objects which meets the specified criteria. This event received an IWPTextObj interface which let you modify the the object.