Activer JavaScript pour consulter ce site.

Altova XMLSpy 2021 Enterprise Edition

Superseded by AuthenticRange.Cut


The Cut method of AuthenticRange allows to delete any range of the document, not only the current UI selection.


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

// instead of:

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

// use now:

if (! Application.ActiveDocument.AuthenticView.Selection.Cut())

   MsgBox ("Error: can't cut out current selection");



Declaration: EditCut



Cuts the current selection from the document and copies it to the clipboard.





© 2015-2021 Altova GmbH