Activer JavaScript pour consulter ce site.

Altova XMLSpy 2020 Enterprise Edition

Superseded by AuthenticRange.IsCutEnabled

 

The IsCutEnabled property is now supported for any range of the document, not only the current UI selection.

 

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

// instead of:

// if (Application.ActiveDocument.DocEditView.IsEditCutEnabled)

//    Application.ActiveDocument.DocEditView.EditCut();

// use now:

var objCurrSelection = Application.ActiveDocument.AuthenticView.Selection;

if (objCurrSelection.IsCutEnabled)

   objCurrSelection.Cut();

 

 

Declaration: IsEditCutEnabled as Boolean

 

Description

True if EditCut is currently possible. See also Editing operations.

 

 

 

© 2020 Altova GmbH