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

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

public GetFieldValue ( String name ) : String
name String
Результат String
        public String GetFieldValue(String name) {
            String field = (String)fields[name];
            if (field == null)
                return null;
            else
                return field;
        }
        

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);
         }
     }
 }
All Usage Examples Of iTextSharp.text.pdf.XfdfReader::GetFieldValue