API Reference
Class
PdfFormDataSet
Dependency-free AcroForm data set with typed and XFDF interchange.
Inheritance
- Object
- PdfFormDataSet
Usage
Explore 4 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 3
- Method PdfDocumentForms.ExportData
- Method PdfFormDataSet.ParseXfdf
- Method PdfFormDataSet.ParseXfdfBytes
Accepted by parameters 1
- Method PdfDocumentForms.ImportData
Constructors
public PdfFormDataSet(IEnumerable<PdfFormDataField> fields) #Creates a unique-name data set.
Parameters
- fields System.Collections.Generic.IEnumerable<OfficeIMO.Pdf.PdfFormDataField>
Methods
public static PdfFormDataSet ParseXfdf(String xfdf, Int32 maxFields = 100000, Int32 maxValueCharacters = 4000000, Int32 maxDocumentCharacters = 8000000) #Returns:
PdfFormDataSetParses bounded, DTD-free XFDF field data.
Parameters
- xfdf System.String
- maxFields System.Int32 = 100000
- maxValueCharacters System.Int32 = 4000000
- maxDocumentCharacters System.Int32 = 8000000
public static PdfFormDataSet ParseXfdfBytes(Byte[] xfdf, Int32 maxFields = 100000, Int32 maxValueCharacters = 4000000, Int32 maxDocumentCharacters = 8000000, Int32 maxDocumentBytes = 32000004) #Returns:
PdfFormDataSetParses encoded XFDF using its BOM or XML declaration within the shared document limits.
Parameters
- xfdf System.Byte[]
- maxFields System.Int32 = 100000
- maxValueCharacters System.Int32 = 4000000
- maxDocumentCharacters System.Int32 = 8000000
- maxDocumentBytes System.Int32 = 32000004
public IReadOnlyDictionary<String, PdfFormFieldValue> ToFieldValues() #Returns:
IReadOnlyDictionary<String, PdfFormFieldValue>Converts values to the shared form-filler contract.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
Properties
public IReadOnlyList<PdfFormDataField> Fields { get; } #Data fields in deterministic source order.
Fields
public const Int32 DefaultMaxXfdfDocumentCharacters #Default maximum XFDF source length accepted before XML materialization.
Value:
8000000public const Int32 DefaultMaxXfdfDocumentBytes #Maximum encoded XFDF bytes accepted before parsing, including an optional BOM.
Value:
32000004public const Int32 DefaultMaxXfdfValueCharacters #Default maximum aggregate XFDF value length.
Value:
4000000