Class
PdfFormDataSet
OfficeIMO.Pdf
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, int maxFields = 100000, int maxValueCharacters = 4000000, int maxDocumentCharacters = 8000000) #Parses bounded, DTD-free XFDF field data.
Parameters
- xfdf string
- maxFields int = 100000
- maxValueCharacters int = 4000000
- maxDocumentCharacters int = 8000000
Returns
PdfFormDataSetpublic static PdfFormDataSet ParseXfdfBytes(byte[] xfdf, int maxFields = 100000, int maxValueCharacters = 4000000, int maxDocumentCharacters = 8000000, int maxDocumentBytes = 32000004) #Parses encoded XFDF using its BOM or XML declaration within the shared document limits.
Parameters
- xfdf byte[]
- maxFields int = 100000
- maxValueCharacters int = 4000000
- maxDocumentCharacters int = 8000000
- maxDocumentBytes int = 32000004
Returns
PdfFormDataSetpublic IReadOnlyDictionary<string, PdfFormFieldValue> ToFieldValues() #Converts values to the shared form-filler contract.
Returns
IReadOnlyDictionary<string, PdfFormFieldValue>Inherited Methods
Properties
public IReadOnlyList<PdfFormDataField> Fields { get; } #Data fields in deterministic source order.
Fields
public const int DefaultMaxXfdfDocumentCharacters #Default maximum XFDF source length accepted before XML materialization.
Value:
8000000public const int DefaultMaxXfdfDocumentBytes #Maximum encoded XFDF bytes accepted before parsing, including an optional BOM.
Value:
32000004public const int DefaultMaxXfdfValueCharacters #Default maximum aggregate XFDF value length.
Value:
4000000