Represents the base class for all choice field dictionaries.
Inheritance Hierarchy
PdfEdit.PdfPdfItem
PdfEdit.PdfPdfObject
PdfEdit.PdfPdfDictionary
PdfEdit.Pdf.AcroFormsPdfAcroField
PdfEdit.Pdf.AcroFormsPdfChoiceField
PdfEdit.Pdf.AcroFormsPdfComboBoxField
PdfEdit.Pdf.AcroFormsPdfListBoxField
Namespace: PdfEdit.Pdf.AcroForms
Assembly: PdfPrintingNet (in PdfPrintingNet.dll) Version: 5.1.1.0 (5.1.1.0)
Syntax
The PdfChoiceField type exposes the following members.
Constructors
Name | Description | |
---|---|---|
PdfChoiceField(PdfDictionary) |
Initializes a new instance of the PdfChoiceField class.
| |
PdfChoiceField(PdfDocument) |
Initializes a new instance of the PdfChoiceField class.
|
Methods
Name | Description | |
---|---|---|
Clone |
Creates a copy of this dictionary. Direct values are deep copied. Indirect references are not
modified.
(Inherited from PdfDictionary.) | |
Copy |
This function is useful for importing objects from external documents. The returned object is not
yet complete. irefs refer to external objects and directed objects are cloned but their document
property is null. A cloned dictionary or array needs a 'fix-up' to be a valid object.
(Inherited from PdfDictionary.) | |
CreateStream |
Creates the stream of this dictionary and initializes it with the specified byte array.
The function must not be called if the dictionary already has a stream.
(Inherited from PdfDictionary.) | |
DetermineAppearance |
Tries to determine the Appearance of the Field by checking elements of its dictionary
(Inherited from PdfAcroField.) | |
EnsureFonts |
Copies font-references from the AcroForm the the specified XForm (Inherited from PdfAcroField.) | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetAppearanceNames |
Gets the names of all appearance dictionaries of this AcroField.
(Inherited from PdfAcroField.) | |
GetDescendantNames |
Gets the names of all descendants of this field.
(Inherited from PdfAcroField.) | |
GetEnumerator |
Returns an enumerator that iterates through the dictionary elements.
(Inherited from PdfDictionary.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetValue |
Gets a child field by name.
(Inherited from PdfAcroField.) | |
IndexInOptArray |
Gets the index of the specified string in the /Opt array or -1, if no such string exists.
Value, for which the index should be retrievedtrue if value is the export value, false if value is the text shown in the UI | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RenderContentStream |
Renders the contents of the supplied Stream to the Page at the position specified by the provided Rectangle
(Inherited from PdfAcroField.) | |
ToString |
Returns a string with the content of this object in a readable form. Useful for debugging purposes only.
(Inherited from PdfDictionary.) | |
ValueInOptArray |
Gets the value or the display text from the index in the /Opt array.
Index of the value that should be retrievedtrue to get the export value, false to get the text shown in the UI |
Fields
Name | Description | |
---|---|---|
ForceFilters |
List of filters which will be applied on the PdfDictionary stream.
(Inherited from PdfDictionary.) |
Properties
Name | Description | |
---|---|---|
AlternateName |
Gets the alternative Name of the Field (/TU)
(Inherited from PdfAcroField.) | |
Annotations |
Gets the annotations-array for this field.
The elements of this array are of type PdfWidgetAnnotation.
(Inherited from PdfAcroField.) | |
BaseContentFontName |
Gets the base font name that was obtained by analyzing the Fields' content-stream.
(Inherited from PdfAcroField.) | |
ContentFontName |
Gets the font name that was obtained by analyzing the Fields' content-stream.
(Inherited from PdfAcroField.) | |
DefaultValue |
Gets or sets the default value of the field.
(Inherited from PdfAcroField.) | |
DescendantNames | Obsolete.
Gets the names of all descendants of this field.
(Inherited from PdfAcroField.) | |
Elements |
Gets the dictionary containing the elements of this dictionary.
(Inherited from PdfDictionary.) | |
Fields |
Gets the collection of fields within this field.
(Inherited from PdfAcroField.) | |
Flags |
Gets the field flags of this instance.
(Inherited from PdfAcroField.) | |
Font |
Gets or sets the font used to draw the text of the field.
(Inherited from PdfAcroField.) | |
ForeColor |
Gets or sets the foreground color of the field.
(Inherited from PdfAcroField.) | |
FullyQualifiedName |
Gets the fully qualified name of this field, that is: "parent-name.field-name"
(Inherited from PdfAcroField.)If the field has no parent, this is equal to Name | |
HasChildFields |
Indicates whether the field has child fields.
(Inherited from PdfAcroField.) | |
HasKids |
Indicates whether the field has child fields and/or annotations.
(Inherited from PdfAcroField.) | |
Internals |
Gets the PdfInternals object of this document, that grants access to some internal structures
which are not part of the public interface of PdfDocument.
(Inherited from PdfObject.) | |
IsIndirect |
Indicates whether the object is an indirect object.
(Inherited from PdfObject.) | |
Item |
Gets the field with the specified name.
(Inherited from PdfAcroField.) | |
MappingName |
Gets the mapping Name of the Field (/TM)
(Inherited from PdfAcroField.) | |
Name |
Gets the name of this field.
(Inherited from PdfAcroField.) | |
Options |
Gets or sets the List of options (entries) available for selection.
This is the list of values shown in the UI.
| |
Owner |
Gets the PdfDocument this object belongs to.
(Inherited from PdfObject.) | |
Parent |
Gets the Parent of this field or null, if the field has no parent
(Inherited from PdfAcroField.) | |
ReadOnly |
Gets or sets a value indicating whether the field is read only.
(Inherited from PdfAcroField.) | |
Reference |
Gets the indirect reference of this object. If the value is null, this object is a direct object.
(Inherited from PdfObject.) | |
Stream |
Gets or sets the PDF stream belonging to this dictionary. Returns null if the dictionary has
no stream. To create the stream, call the CreateStream function.
(Inherited from PdfDictionary.) | |
TextAlign |
Gets or sets the alignment for the text of this field.
(Inherited from PdfAcroField.) | |
Value |
Gets or sets the value of the field.
(Inherited from PdfAcroField.) | |
Values |
Gets the list of values for this Field. May or may not be equal to Options but has always the same amount of items.
|
See Also