OldAuthenticView.GetPreviousVisible (obsolete)

www.altova.com Imprimir este apartado Página anterior Subir un nivel Página siguiente

Inicio >  Referencia del programador > Application API > Interfaces (obsolete) > OldAuthentictView (obsolete) >

OldAuthenticView.GetPreviousVisible (obsolete)

Superseded by AuthenticRange.SelectPrevious


AuthenticRange now supports a wide range of element navigation methods based on document elements like characters, words, tags and many more. Selecting the text passage that represents the content of the previous XML element is just one of them.


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

// instead of:

// var objCurrXMLData = ...

// var objXMLData = Application.ActiveDocument.DocEditView.GetPreviousVisible(objCurrXMLData);

// Application.ActiveDocument.DocEditView.SelectionSet (objXMLData, 0, objXMLData, -1);

// use now:

var objRange = ...


   { objRange.SelectPrevious (spyAuthenticTag).Select(); }

catch (err)


  if ((err.number & 0xffff) == 2004)

       MsgBox ("begin of document reached");


      throw (err);



See also


Declaration: GetPreviousVisible (pElement as XMLData) as XMLData



The method gets the previous visible XML element in the document.




© 2019 Altova GmbH