PdfChoiceField ClassTerminal Works - PDF Printing.Net Library
Represents the base class for all choice field dictionaries.
Inheritance Hierarchy

SystemObject
  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.2.1.0 (5.2.1.0)
Syntax

public abstract class PdfChoiceField : PdfAcroField

The PdfChoiceField type exposes the following members.

Constructors

  NameDescription
Protected methodPdfChoiceField(PdfDictionary)
Initializes a new instance of the PdfChoiceField class.
Protected methodPdfChoiceField(PdfDocument)
Initializes a new instance of the PdfChoiceField class.
Top
Methods

  NameDescription
Public methodClone
Creates a copy of this dictionary. Direct values are deep copied. Indirect references are not modified.
(Inherited from PdfDictionary.)
Protected methodCopy
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.)
Public methodCreateStream
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.)
Protected methodDetermineAppearance
Tries to determine the Appearance of the Field by checking elements of its dictionary
(Inherited from PdfAcroField.)
Protected methodEnsureFonts
Copies font-references from the AcroForm the the specified XForm
(Inherited from PdfAcroField.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAppearanceNames
Gets the names of all appearance dictionaries of this AcroField.
(Inherited from PdfAcroField.)
Public methodGetDescendantNames
Gets the names of all descendants of this field.
(Inherited from PdfAcroField.)
Public methodGetEnumerator
Returns an enumerator that iterates through the dictionary elements.
(Inherited from PdfDictionary.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodGetValue
Gets a child field by name.
(Inherited from PdfAcroField.)
Protected methodIndexInOptArray
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
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodRenderContentStream
Renders the contents of the supplied Stream to the Page at the position specified by the provided Rectangle
(Inherited from PdfAcroField.)
Public methodToString
Returns a string with the content of this object in a readable form. Useful for debugging purposes only.
(Inherited from PdfDictionary.)
Protected methodValueInOptArray
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
Top
Fields

  NameDescription
Public fieldForceFilters
List of filters which will be applied on the PdfDictionary stream.
(Inherited from PdfDictionary.)
Top
Properties

  NameDescription
Public propertyAlternateName
Gets the alternative Name of the Field (/TU)
(Inherited from PdfAcroField.)
Public propertyAnnotations
Gets the annotations-array for this field. The elements of this array are of type PdfWidgetAnnotation.
(Inherited from PdfAcroField.)
Public propertyBaseContentFontName
Gets the base font name that was obtained by analyzing the Fields' content-stream.
(Inherited from PdfAcroField.)
Public propertyContentFontName
Gets the font name that was obtained by analyzing the Fields' content-stream.
(Inherited from PdfAcroField.)
Public propertyDefaultValue
Gets or sets the default value of the field.
(Inherited from PdfAcroField.)
Public propertyDescendantNames Obsolete.
Gets the names of all descendants of this field.
(Inherited from PdfAcroField.)
Public propertyElements
Gets the dictionary containing the elements of this dictionary.
(Inherited from PdfDictionary.)
Public propertyFields
Gets the collection of fields within this field.
(Inherited from PdfAcroField.)
Public propertyFlags
Gets the field flags of this instance.
(Inherited from PdfAcroField.)
Public propertyFont
Gets or sets the font used to draw the text of the field.
(Inherited from PdfAcroField.)
Public propertyForeColor
Gets or sets the foreground color of the field.
(Inherited from PdfAcroField.)
Public propertyFullyQualifiedName
Gets the fully qualified name of this field, that is: "parent-name.field-name"

If the field has no parent, this is equal to Name

(Inherited from PdfAcroField.)
Public propertyHasChildFields
Indicates whether the field has child fields.
(Inherited from PdfAcroField.)
Public propertyHasKids
Indicates whether the field has child fields and/or annotations.
(Inherited from PdfAcroField.)
Public propertyInternals
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.)
Public propertyIsIndirect
Indicates whether the object is an indirect object.
(Inherited from PdfObject.)
Public propertyItem
Gets the field with the specified name.
(Inherited from PdfAcroField.)
Public propertyMappingName
Gets the mapping Name of the Field (/TM)
(Inherited from PdfAcroField.)
Public propertyName
Gets the name of this field.
(Inherited from PdfAcroField.)
Public propertyOptions
Gets or sets the List of options (entries) available for selection. This is the list of values shown in the UI.
Public propertyOwner
Gets the PdfDocument this object belongs to.
(Inherited from PdfObject.)
Public propertyParent
Gets the Parent of this field or null, if the field has no parent
(Inherited from PdfAcroField.)
Public propertyReadOnly
Gets or sets a value indicating whether the field is read only.
(Inherited from PdfAcroField.)
Public propertyReference
Gets the indirect reference of this object. If the value is null, this object is a direct object.
(Inherited from PdfObject.)
Public propertyStream
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.)
Public propertyTextAlign
Gets or sets the alignment for the text of this field.
(Inherited from PdfAcroField.)
Public propertyValue
Gets or sets the value of the field.
(Inherited from PdfAcroField.)
Public propertyValues
Gets the list of values for this Field. May or may not be equal to Options but has always the same amount of items.
Top
See Also

Reference