Altova XMLSpy 2022 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.        

 

 

 

 

© 2016-2022 Altova GmbH