Click or drag to resize

PdfStyledFieldWidget Class

Represents loaded styled field.
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 PdfStyledFieldWidget : PdfFieldWidget

The PdfStyledFieldWidget type exposes the following members.

Properties
Name Description
Public property Actions
Gets the actions of the field.
Public property AnnotationFlags
Gets or sets the annotation flags.
(Inherited from PdfField .)
Public property BackColor
Get or Set the background color of the field
Public property BorderColor
Gets or sets the color of the border.
Public property BorderStyle
Gets or sets the color of the border.
Public property BorderWidth
Gets or Sets the width of the border.
Public property Bounds
Gets or sets the bounds.
Public property DefaultIndex
Gets the default index.
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.
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 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.
Public property Location
Gets or sets the location.
Public property LostFocus
Gets or sets the action to be performed when the annotation loses the input focus.
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 MouseDown
Gets or sets the action to be performed when the mouse button is pressed inside the annotations active area.
Public property MouseEnter
Gets or sets the action to be performed when the mouse button is enter inside the annotations active area..
Public property MouseLeave
Gets or sets the action to be performed when the mouse button exits or leaves the annotations active area..
Public property MouseUp
Gets or sets the action to be performed when the mouse button is released inside the annotations active area..
Public property Multiline
Gets or sets a value indicating whether thisis multiline.
Public property Name
Gets the name of the field.
(Inherited from PdfFieldWidget .)
Public property Page
Gets the page.
(Inherited from PdfFieldWidget .)
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 Size
Gets or sets the size.
Public property ToolTip
Gets or sets the tool tip.
(Inherited from PdfFieldWidget .)
Public property Visible
Gets a value indicating the visibility of the field.
Top
Methods
Name Description
Protected method CalculateAutoFontSize
When the font size of the field is automatic, calculate actual size.
Protected method CalculateMultilineFontSize
Calculate font size in multiline field
Protected method CalculateSingleLineFieldFontSize
Calculate font size in single line field
Protected method DefineDefaultAppearance (Overrides PdfField DefineDefaultAppearance .)
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
Protected method GetGraphicsProperties
Gets the graphics properties.
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.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
Fields
Name Description
Protected field Static member c_defaultMultilineFieldFontSize
Internal default multiline field font size.
Public field ObjectID
Form field identifier
(Inherited from PdfFieldWidget .)
Top
See Also