enumerate

Führt alle im Dokument gefundenen XML-Unterschriften auf.

Syntax

Reference_Syntax.enumerate()

Parameter

Kein

Rückgabe

Ein Objekt, das eine XFA-Node-Liste aller XML-Unterschrift-Nodes darstellt.

Version

XFA 2.1

Beispiele

JavaScript

//This example removes the signature from all signed objects on a form.  
//In this case, enumerate() is used to determine the list of objects signed 
//by the signature. 
var oSigs = xfa.signature.enumerate(); 
var iNum = oSigs.length; 
for (var i=0; i < iNum; i++)  
{ 
    var oChild = oSigs.item(i); 
    xfa.signature.clear(child); 
}

FormCalc

//This example removes the signature from all signed objects on a form.  
//In this case, enumerate() is used to determine the list of objects signed 
//by the signature. 
var oSigs = xfa.signature.enumerate() 
var iNum = oSigs.length - 1 
for i=0 upto iNum step 1 do 
    var oChild = oSigs.item(i) 
    xfa.signature.clear(child) 
endfor