OldAuthenticView.IsTextStateEnabled (obsolete)

www.altova.com Imprimir este apartado Página anterior Subir un nivel Página siguiente

Inicio >  Referencia del programador > 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



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