Altova XMLSpy 2024 Enterprise Edition

Superseded by AuthenticRange.IsCopyEnabled

 

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

 

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

// instead of:

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

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

// use now:

var objCurrSelection = Application.ActiveDocument.AuthenticView.Selection;

if (objCurrSelection.IsCopyEnabled)

   objCurrSelection.Copy();

 

Declaration: IsEditCopyEnabled as Boolean

 

Description

True if copy to clipboard is possible. See also EditCopy and Editing operations.        

 

 

 

 

© 2017-2023 Altova GmbH