OldAuthenticView.IsTextStateApplied (obsolete)

www.altova.com このトピックを印刷 前のページ 1つ上のレベル 次のページ

ホーム >  プログラマーのレファレンス > Application API > Interfaces (obsolete) > OldAuthentictView (obsolete) >

OldAuthenticView.IsTextStateApplied (obsolete)

Superseded by AuthenticRange.IsTextStateApplied

 

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

// instead of:

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

// use now:

if (Application.ActiveDocument.AuthenticView.Selection.IsTextStateApplied ("bold"))

   MsgBox ("bold on");

else

   MsgBox ("bold off");

 

See also

 

Declaration: IsTextStateApplied (elementName as String) as Boolean

 

Description

Checks to see if the it the text state has already been applied. Common examples for the parameter elementName would be strong and italic.

 

 

 


(C) 2018 Altova GmbH