cete.dynamicpdf.forms.buttonfield
ButtonField
- Namespace: ceTe.DynamicPDF.Forms
- Assemblies: DynamicPDF.NETFramework40.dll, DynamicPDF.NETStandard20.dll
Base class representing a button field.
public abstract class ButtonField : FormField
Public MustInherit Class ButtonField
Inherits FormField
Inheritance: Object → Resource → FormField → ButtonField
Derived: CheckBoxField, RadioButtonField
Licensing
Reading the values or properties of a field is a DynamicPDF Merger Standard Edition feature (for modifying field values see below). One of the following licenses is required for non-evaluation usage:
- DynamicPDF Merger for .NET Standard Edition
- DynamicPDF Merger for .NET Professional Edition
- DynamicPDF Merger for .NET Enterprise Edition
- DynamicPDF Core Suite for .NET Professional Edition
- DynamicPDF Core Suite for .NET Enterprise Edition
Modifying the values of the fields (i.e. form filling) is a Professional Edition Feature. One of the following licenses is required for non-evaluation usage:
- DynamicPDF Merger for .NET Professional Edition
- DynamicPDF Merger for .NET Enterprise Edition
- DynamicPDF Core Suite for .NET Professional Edition
- DynamicPDF Core Suite for .NET Enterprise Edition
Properties
AlternateName
Gets or sets the alternate name of the form field. (Inherited from FormField)
public string AlternateName { get; set; }
Public Property AlternateName As String
Property Value
BackgroundColor
Gets the background color of a form field. (Inherited from FormField)
public RgbColor BackgroundColor { get; }
Public Property BackgroundColor As RgbColor
Property Value
BorderColor
Gets the border color of a form field. (Inherited from FormField)
public DeviceColor BorderColor { get; }
Public Property BorderColor As DeviceColor
Property Value
BorderStyle
Gets the BorderStyle . (Inherited from FormField)
public BorderStyle BorderStyle { get; }
Public Property BorderStyle As BorderStyle
Property Value
ChildFields
Gets a collection of child form fields. (Inherited from FormField)
public FormFieldList ChildFields { get; }
Public Property ChildFields As FormFieldList
Property Value
Font
Gets or Sets the font for the field. (Inherited from FormField)
public Font Font { get; set; }
Public Property Font As Font
Property Value
FontSize
Gets or Sets the font size for the field. (Inherited from FormField)
public float FontSize { get; set; }
Public Property FontSize As Single
Property Value
Form
Gets the form containing this form field. (Inherited from FormField)
public Form Form { get; }
Public Property Form As Form
Property Value
FullName
Gets the full name of the form field. (Inherited from FormField)
public string FullName { get; }
Public Property FullName As String
Property Value
HasChildFields
Gets a value indicating if there are child form fields. (Inherited from FormField)
public bool HasChildFields { get; }
Public Property HasChildFields As Boolean
Property Value
HasValue
Gets a value indicating if the form field has a value. (Inherited from FormField)
public bool HasValue { get; }
Public Property HasValue As Boolean
Property Value
InheritsName
Gets a value indicating if the form field inherits its name. (Inherited from FormField)
public bool InheritsName { get; }
Public Property InheritsName As Boolean
Property Value
InheritsValue
Gets a value indicating if the form field inherits its value. (Inherited from FormField)
public bool InheritsValue { get; }
Public Property InheritsValue As Boolean
Property Value
IsReadOnly
Gets or sets a value indicating if the form field is read only. (Inherited from FormField)
public bool IsReadOnly { get; set; }
Public Property IsReadOnly As Boolean
Property Value
MappingName
Gets or sets the mapping name of the form field. (Inherited from FormField)
public string MappingName { get; set; }
Public Property MappingName As String
Property Value
Name
Gets or sets the name of the form field. (Inherited from FormField)
public string Name { get; set; }
Public Property Name As String
Property Value
Output
Gets or Sets output options for the field. (Inherited from FormField)
public FormFieldOutput Output { get; set; }
Public Property Output As FormFieldOutput
Property Value
Parent
Gets the parent form field. (Inherited from FormField)
public FormField Parent { get; }
Public Property Parent As FormField
Property Value
RequiredPdfObjects
Gets the number of PDF objects required by the form field. (Inherited from FormField)
public int RequiredPdfObjects { get; }
Public Property RequiredPdfObjects As Int32
Property Value
ResourceType
Gets the resource type. (Inherited from FormField)
public ResourceType ResourceType { get; }
Public Property ResourceType As ResourceType
Property Value
Rotate
Gets the angle of a form field. (Inherited from FormField)
public int Rotate { get; }
Public Property Rotate As Int32
Property Value
TextColor
Gets the color of the text for the field. (Inherited from FormField)
public DeviceColor TextColor { get; }
Public Property TextColor As DeviceColor
Property Value
Uid
Gets the unique ID of the resource. (Inherited from Resource)
public long Uid { get; }
Public Property Uid As Int64
Property Value
UseSubstituteFont
Gets or Sets whether to use SubstituteFont if the Font assigned is not found. (Inherited from FormField)
public bool UseSubstituteFont { get; set; }
Public Property UseSubstituteFont As Boolean
Property Value
Value
Gets or sets the value of the form field. (Inherited from FormField)
public string Value { get; set; }
Public Property Value As String
Property Value
Methods
Draw(DocumentWriter)
Draws the form field to the given DocumentWriter object. (Inherited from FormField)
public void Draw(DocumentWriter writer)
Sub Draw(writer As DocumentWriter)
Parameters
- writer: DocumentWriter
DocumentWriter object to receive the form field's output.
Equals(Object)
Determines whether the specified Object is equal to the current Object . (Inherited from Object)
public bool Equals(Object obj)
Function Equals(obj As Object) As Boolean
Parameters
- obj: Object
The Object to compare with the current Object .
Returns
true if the specified Object is equal to the current Object ; otherwise, false.
GetHashCode()
Serves as a hash function for a particular type. (Inherited from Object)
public int GetHashCode()
Function GetHashCode() As Integer
Returns
A hash code for the current Object .
GetType()
Gets the Type of the current instance. (Inherited from Object)
public Type GetType()
Function GetType() As Type
Returns
The Type instance that represents the exact runtime type of the current instance.
ToString()
Returns a String that represents the current Object . (Inherited from Object)
public string ToString()
Function ToString() As String
Returns
A String that represents the current Object .