Altova XMLSpy 2025 Enterprise Edition

Superseded by AuthenticRange.IsPasteEnabled

 

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

 

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

// instead of:

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

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

// use now:

var objCurrSelection = Application.ActiveDocument.AuthenticView.Selection;

if (objCurrSelection.IsPasteEnabled)

   objCurrSelection.Paste();

 

Declaration: IsEditPasteEnabled as Boolean

 

Description

True if EditPaste is possible. See also Editing operations.        

 

 

 

© 2018-2024 Altova GmbH