OldAuthenticView.IsTextStateEnabled (obsolete)

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  Programmers' Reference > Application API > Interfaces (obsolete) > OldAuthentictView (obsolete) >

OldAuthenticView.IsTextStateEnabled (obsolete)

Superseded by AuthenticRange.CanPerformAction

 

Use spyAuthenticApply for the eAction parameter. The CanPerformAction method allows to operate on any range of the document, not only the current UI selection.

 

// ----- javascript sample -----

// instead of:

// Application.ActiveDocument.DocEditView.IsTextStateEnabled ("bold");

// use now:

if (Application.ActiveDocument.AuthenticView.Selection.CanPerformAction (spyAuthenticApply, "bold"))

   ... // e.g. enable 'bold' button

 

See also

 

Declaration: IsTextStateEnabled (i_strElementName as String) as Boolean

 

Description

Checks to see if it is possible to apply a text state. Common examples for the parameter elementName would be strong and italic.

 

 

 


© 2019 Altova GmbH