Click or drag to resize

PdfTextBoxFieldWidget Class

Represents the text box field of an existing PDF document`s form.
Inheritance Hierarchy

Namespace: Spire.Pdf.Widget
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public class PdfTextBoxFieldWidget : PdfStyledFieldWidget, 
	IPdfTextBoxField

The PdfTextBoxFieldWidget type exposes the following members.

Properties
Name Description
Public property Actions
Gets the actions of the field.
(Inherited from PdfStyledFieldWidget .)
Public property AnnotationFlags
Gets or sets the annotation flags.
(Inherited from PdfField .)
Public property BackColor
Get or Set the background color of the field
(Inherited from PdfStyledFieldWidget .)
Public property BorderColor
Gets or sets the color of the border.
(Inherited from PdfStyledFieldWidget .)
Public property BorderStyle
Gets or sets the color of the border.
(Inherited from PdfStyledFieldWidget .)
Public property BorderWidth
Gets or Sets the width of the border.
(Inherited from PdfStyledFieldWidget .)
Public property Bounds
Gets or sets the bounds.
(Inherited from PdfStyledFieldWidget .)
Public property DefaultIndex
Gets the default index.
(Inherited from PdfStyledFieldWidget .)
Public property DefaultValue
Gets or set the default value of the field.
Public property Export
Gets or sets a value indicating whether thisis export.
(Inherited from PdfFieldWidget .)
Public property Flatten
Gets or sets a value indicating whether thisis flatten.
(Inherited from PdfField .)
Public property Font
Gets the font.
(Inherited from PdfStyledFieldWidget .)
Public property FontSizeAuto
The font is to be auto-sized:its size is computed as a function of the height of the annotation rectangle.
(Inherited from PdfField .)
Public property ForeColor
Gets or Set the fore color of the field.
Public property Form
Gets the form.
(Inherited from PdfField .)
Public property FormWidget
Gets the form.
(Inherited from PdfFieldWidget .)
Public property FullName
Gets the full name.
(Inherited from PdfField .)
Public property GotFocus
Gets or sets the action to be performed when the annotation receives the input focus.
(Inherited from PdfStyledFieldWidget .)
Public property HighlightMode
Get or Set the HighLightMode of the Field.
Public property InsertSpaces
Meaningful only if the MaxLength property is set and the Multiline, Password properties are false. If set, the field is automatically divided into as many equally spaced positions, or combs, as the value of MaxLength, and the text is laid out into those combs.
Public property Location
Gets or sets the location.
(Inherited from PdfStyledFieldWidget .)
Public property LostFocus
Gets or sets the action to be performed when the annotation loses the input focus.
(Inherited from PdfStyledFieldWidget .)
Public property MappingName
Gets or sets the mapping name to be used when exporting interactive form field data from the document.
(Inherited from PdfFieldWidget .)
Public property MaxLength
Gets or sets the maximum length of the field, in characters.
Public property MouseDown
Gets or sets the action to be performed when the mouse button is pressed inside the annotations active area.
(Inherited from PdfStyledFieldWidget .)
Public property MouseEnter
Gets or sets the action to be performed when the mouse button is enter inside the annotations active area..
(Inherited from PdfStyledFieldWidget .)
Public property MouseLeave
Gets or sets the action to be performed when the mouse button exits or leaves the annotations active area..
(Inherited from PdfStyledFieldWidget .)
Public property MouseUp
Gets or sets the action to be performed when the mouse button is released inside the annotations active area..
(Inherited from PdfStyledFieldWidget .)
Public property Multiline
Gets or sets a value indicating whether thisis multiline.
(Inherited from PdfStyledFieldWidget .)
Public property Name
Gets the name of the field.
(Inherited from PdfFieldWidget .)
Public property Page
Gets the page.
(Inherited from PdfFieldWidget .)
Public property Password
Gets or sets a value indicating whether thisis password field.
Public property ReadOnly
Gets or sets a value indicating whether [read only].
(Inherited from PdfFieldWidget .)
Public property Required
Gets or sets a value indicating whether thisis required.
(Inherited from PdfFieldWidget .)
Public property Scrollable
Gets or sets a value indicating whether thisis scrollable.
Public property Size
Gets or sets the size.
(Inherited from PdfStyledFieldWidget .)
Public property SpellCheck
Gets or sets a value indicating whether to check spelling.
Public property Text
Gets or Set value of the text box field.
Public property TextAlignment
Get or Set the text alignment in a text box.
Public property ToolTip
Gets or sets the tool tip.
(Inherited from PdfFieldWidget .)
Public property Visible
Gets a value indicating the visibility of the field.
(Inherited from PdfStyledFieldWidget .)
Public property WidgetItems
Gets the collection of text box field items.
Top
Methods
Name Description
Protected method CalculateAutoFontSize
When the font size of the field is automatic, calculate actual size.
(Inherited from PdfStyledFieldWidget .)
Protected method CalculateMultilineFontSize
Calculate font size in multiline field
(Inherited from PdfStyledFieldWidget .)
Protected method CalculateSingleLineFieldFontSize
Calculate font size in single line field
(Inherited from PdfStyledFieldWidget .)
Protected method DefineDefaultAppearance (Inherited from PdfStyledFieldWidget .)
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Protected method GetDaFontSize
Get font size from da string
(Inherited from PdfStyledFieldWidget .)
Protected method GetGraphicsProperties
Gets the graphics properties.
(Inherited from PdfStyledFieldWidget .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method Initialize (Inherited from PdfFieldWidget .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method ReSetPage
Re set the page.
(Inherited from PdfFieldWidget .)
Public method SetName
Sets the name of the field.
(Inherited from PdfFieldWidget .)
Protected method StringToStyle
String to style.
(Inherited from PdfStyledFieldWidget .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
Fields
Name Description
Public field ObjectID
Form field identifier
(Inherited from PdfFieldWidget .)
Top
See Also