PdfFormOptions Class

Specifies options for converting HTML form controls into interactive PDF form fields

Definition

Namespace: HiQPdf.Next
Assembly: HiQPdf.Next (in HiQPdf.Next.dll) Version: 18.9.2
C#
public sealed class PdfFormOptions
Inheritance
Object    PdfFormOptions

Remarks

These options control field naming, button action generation, submit behavior, validation mapping and diagnostic logging for the HTML-to-PDF forms pipeline

Properties

ApplyRequiredAsPdfRequiredFlag Gets or sets a value indicating whether HTML required fields are also marked as required in the generated PDF fields
EnableButtonActions Gets or sets a value indicating whether PDF actions are attached to generated PDF buttons
ExcludeDisabledFieldsFromSubmit Gets or sets a value indicating whether disabled HTML fields are excluded from submit actions
FieldNamingMode Gets or sets how PDF field names are generated from HTML form controls
FormFieldBoldFont Gets or sets the default bold font used for interactive PDF form fields. If not set but FormFieldFont is set, that font will be used as a fallback. If FormFieldFont is not set either, a default bold font will be used
FormFieldBoldItalicFont Gets or sets the default bold italic font used for interactive PDF form fields. If not set but FormFieldFont is set, that font will be used as a fallback. If FormFieldFont is not set either, a default bold italic font will be used
FormFieldFont Gets or sets the default regular font used for interactive PDF form fields. If not set, Helvetica will be used
FormFieldItalicFont Gets or sets the default italic font used for interactive PDF form fields. If not set but FormFieldFont is set, that font will be used as a fallback. If FormFieldFont is not set either, a default italic font will be used
IncludeIFrameFields Gets or sets a value indicating whether form fields from iframes are converted to interactive PDF form fields The default value is
IncludeReadOnlyFieldsInSubmit Gets or sets a value indicating whether read-only fields are included in submit actions
MapHtmlResetButtonsToPdfActions Gets or sets a value indicating whether HTML reset buttons are mapped to PDF reset actions
MapHtmlSubmitButtonsToPdfActions Gets or sets a value indicating whether HTML submit buttons are mapped to PDF submit actions
ResetOnlyFieldsFromButtonForm Gets or sets a value indicating whether reset buttons affect only fields that belong to the same HTML form
SubmitBehavior Gets or sets how submit actions are generated for HTML submit buttons
SubmitFormat Gets or sets the format used when generated submit buttons submit form data
SubmitOnlyFieldsFromButtonForm Gets or sets a value indicating whether submit buttons include only fields that belong to the same HTML form
ValidationBehavior Gets or sets how HTML validation metadata is mapped to PDF behavior

Methods

Equals
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
ToString
(Inherited from Object)

See Also