iTextSharp.text.pdf.XfdfReader.GetListValues C# (CSharp) Метод

GetListValues() публичный Метод

public GetListValues ( String name ) : ArrayList
name String
Результат System.Collections.ArrayList
        public ArrayList GetListValues(String name) {
            return (ArrayList)listFields[name];
        }
        

Usage Example

 /** Sets the fields by XFDF merging.
 * @param xfdf the XFDF form
 * @throws IOException on error
 * @throws DocumentException on error
 */
 public void SetFields(XfdfReader xfdf)
 {
     Hashtable fd = xfdf.Fields;
     foreach (string f in fd.Keys) {
         String v = xfdf.GetFieldValue(f);
         if (v != null)
             SetField(f, v);
         ArrayList l = xfdf.GetListValues(f);
         if (l != null) {
             string[] ar = (string[])l.ToArray(typeof(string[]));
             SetListSelection(v, ar);
         }
     }
 }