Function TWPVirtPage.EmbeddedObjectCount(Mask:TWPTextObjTypes; RequiredName:string) : Integer

Unit: WPRTEDefs
Class: WPRTEDefs.TWPVirtPage

Parameters

Returns

The type of the result value is Integer.

Description

Locates all TextObjects on this page. They do not have to be visible. The objects will be added to a list which can be read using . Objects can be duplicated but closing objects will be not added to the list. If a RequiredName value was provided only objects with this name will be added.