Click or drag to resize

PdfWebControlConvertXfaForm Property

Gets or sets a value indicating whether a PdfWebControl instance should convert XFA PDF forms to the more commonly used AcroForms standard.

Namespace:  RadPdf.Web.UI
Assembly:  RadPdf (in RadPdf.dll) Version: (
public bool ConvertXfaForm { get; set; }

Property Value

Type: Boolean
true XFA forms, when possible, will be converted to the more commonly used AcroForms standard; otherwise false. The default is true.

It is highly recommended to use the default value of true.

To have an effect, this property must be set before CreateDocument(String, Byte) is called.

This property will be ignored if AllowFindMatchingPdf is true and the PDF referenced by CreateDocument(String, Byte) was previously loaded. (The value of this property when the PDF was originally loaded by CreateDocument(String, Byte) will instead be used)

If true and RAD PDF recognizes the input as an XFA form, RAD PDF will convert the form to the more commonly used AcroForms standard.

If false and ThrowXfaFormException is true, RAD PDF will throw an error if the input PDF contains an XFA form.

It is important to remember that not all forms using XFA can be converted to AcroForms. RAD PDF typically converts static XFA documents without issue, but RAD PDF does not typically support dynamic XFA documents. At this time, if the conversion to AcroForms fails, an exception is not always thrown.

See Also