• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class XfaForm

XML Forms Architecture (XFA) packets associated with an AcroForm.

Inheritance
object
XfaForm
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Pdf.Forms
Assembly: DRIT.Pdf.dll
Syntax
public sealed class XfaForm

Properties

FieldNames

Gets the known XFA field names in discovery/insertion order.

Declaration
public string[] FieldNames { get; }
Property Value
Type Description
string[]

this[string]

Gets or sets a field value in XFA datasets by field name.

Declaration
public string? this[string fieldName] { get; set; }
Parameters
Type Name Description
string fieldName
Property Value
Type Description
string

Methods

Clear()

Clears all in-memory XFA values and templates.

Declaration
public void Clear()

GetFieldTemplate(string)

Returns the XFA template element for the provided field.

Declaration
public XElement GetFieldTemplate(string fieldName)
Parameters
Type Name Description
string fieldName
Returns
Type Description
XElement

SetFieldTemplate(string, XElement)

Sets or replaces the template element associated with an XFA field.

Declaration
public void SetFieldTemplate(string fieldName, XElement template)
Parameters
Type Name Description
string fieldName
XElement template
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX