PdfSharp-WPF  1.31.7289
PdfSharp.Pdf.AcroForms Namespace Reference

Classes

class  PdfAcroField
 Represents the base class for all interactive field dictionaries. More...
 
class  PdfAcroForm
 Represents a interactive form (or AcroForm), a collection of fields for gathering information interactively from the user. More...
 
class  PdfButtonField
 Represents the base class for all button fields. More...
 
class  PdfCheckBoxField
 Represents the check box field. More...
 
class  PdfChoiceField
 Represents the base class for all choice field dictionaries. More...
 
class  PdfComboBoxField
 Represents the combo box field. More...
 
class  PdfGenericField
 Represents a generic field. Used for AcroForm dictionaries unknown to PDFsharp. More...
 
class  PdfListBoxField
 Represents the list box field. More...
 
class  PdfPushButtonField
 Represents the push button field. More...
 
class  PdfRadioButtonField
 Represents the radio button field. More...
 
class  PdfSignatureField
 Represents the signature field. More...
 
class  PdfTextField
 Represents the text field. More...
 

Enumerations

enum class  PdfAcroFieldFlags {
  ReadOnly = 1 << (1 - 1) , Required = 1 << (2 - 1) , NoExport = 1 << (3 - 1) , Pushbutton = 1 << (17 - 1) ,
  Radio = 1 << (16 - 1) , NoToggleToOff = 1 << (15 - 1) , Multiline = 1 << (13 - 1) , Password = 1 << (14 - 1) ,
  FileSelect = 1 << (21 - 1) , DoNotSpellCheckTextField = 1 << (23 - 1) , DoNotScroll = 1 << (24 - 1) , Combo = 1 << (18 - 1) ,
  Edit = 1 << (19 - 1) , Sort = 1 << (20 - 1) , MultiSelect = 1 << (22 - 1) , DoNotSpellCheckChoiseField = 1 << (23 - 1)
}
 Specifies the flags of AcroForm fields. More...
 
enum class  PdfNamedActionNames { NextPage , PrevPage , FirstPage , LastPage }
 Specifies the predefined PDF actions. More...
 

Enumeration Type Documentation

◆ PdfAcroFieldFlags

Specifies the flags of AcroForm fields.

Enumerator
ReadOnly 

If set, the user may not change the value of the field. Any associated widget annotations will not interact with the user; that is, they will not respond to mouse clicks or change their appearance in response to mouse motions. This flag is useful for fields whose values are computed or imported from a database.

Required 

If set, the field must have a value at the time it is exported by a submit-form action.

NoExport 

If set, the field must not be exported by a submit-form action.

Pushbutton 

If set, the field is a pushbutton that does not retain a permanent value.

Radio 

If set, the field is a set of radio buttons; if clear, the field is a checkbox. This flag is meaningful only if the Pushbutton flag is clear.

NoToggleToOff 

(Radio buttons only) If set, exactly one radio button must be selected at all times; clicking the currently selected button has no effect. If clear, clicking the selected button deselects it, leaving no button selected.

Multiline 

If set, the field may contain multiple lines of text; if clear, the field’s text is restricted to a single line.

Password 

If set, the field is intended for entering a secure password that should not be echoed visibly to the screen. Characters typed from the keyboard should instead be echoed in some unreadable form, such as asterisks or bullet characters. To protect password confidentiality, viewer applications should never store the value of the text field in the PDF file if this flag is set.

FileSelect 

(PDF 1.4) If set, the text entered in the field represents the pathname of a file whose contents are to be submitted as the value of the field.

DoNotSpellCheckTextField 

(PDF 1.4) If set, the text entered in the field will not be spell-checked.

DoNotScroll 

(PDF 1.4) If set, the field will not scroll (horizontally for single-line fields, vertically for multiple-line fields) to accommodate more text than will fit within its annotation rectangle. Once the field is full, no further text will be accepted.

Combo 

If set, the field is a combo box; if clear, the field is a list box.

Edit 

If set, the combo box includes an editable text box as well as a drop list; if clear, it includes only a drop list. This flag is meaningful only if the Combo flag is set.

Sort 

If set, the field’s option items should be sorted alphabetically. This flag is intended for use by form authoring tools, not by PDF viewer applications; viewers should simply display the options in the order in which they occur in the Opt array.

MultiSelect 

(PDF 1.4) If set, more than one of the field’s option items may be selected simultaneously; if clear, no more than one item at a time may be selected.

DoNotSpellCheckChoiseField 

(PDF 1.4) If set, the text entered in the field will not be spell-checked. This flag is meaningful only if the Combo and Edit flags are both set.

◆ PdfNamedActionNames

Specifies the predefined PDF actions.

Enumerator
NextPage 

Go to next page.

PrevPage 

Go to previous page.

FirstPage 

Go to first page.

LastPage 

Go to last page.