Altova StyleVision 2025 Enterprise Edition

Method: CanPerformAction (eAction as SPYAuthenticActions, strElementName as String) as Boolean

 

Description

CanPerformAction and its related methods enable access to the entry-helper functions of Authentic. This function allows easy and consistent modification of the document content, without having to know exactly where the modification will take place. The beginning of the range object is used to locate the next valid location where the specified action can be performed. If the location can be found, the method returns True, otherwise it returns False.

 

HINT: To find out all valid element names for a given action, use CanPerformActionWith.

 

Errors

2001

The authentic range object or its related view object is no longer valid.

2005

Invalid address for the return parameter was specified.

2007

Invalid action was specified.

 

Examples

See PerformAction.

© 2018-2024 Altova GmbH