cete.dynamicpdf.pageelements.forms.formelement
FormElement
- Namespace: ceTe.DynamicPDF.PageElements.Forms
- Assemblies: ceTe.DynamicPDF.40.dll
Class represents the base class for all the form field page elements.
public abstract class FormElement : TaggablePageElement, ISerializable
Public MustInherit Class FormElement
Inherits TaggablePageElement
Implements ISerializable
Inheritance: Object → PageElement → TaggablePageElement → FormElement
Implements: ISerializable
Derived: Button, CheckBox, ChoiceField, ComboBox, ListBox, RadioButton, Signature, TextField
Licensing
This class is a DynamicPDF Generator Enterprise Edition feature. One of the following licenses is required for non-evaluation usage:
- DynamicPDF Generator for .NET Enterprise Edition
- DynamicPDF Merger for .NET Enterprise Edition
- DynamicPDF ReportWriter for .NET Enterprise Edition
- DynamicPDF Core Suite for .NET Enterprise Edition
Properties
BackgroundColor
Gets or Sets the fill/background color of a form field.
public RgbColor BackgroundColor { get; set; }
Public Property BackgroundColor As RgbColor
Property Value
BorderColor
Gets or Sets the border color of a form field.
public DeviceColor BorderColor { get; set; }
Public Property BorderColor As DeviceColor
Property Value
BorderStyle
Gets or Sets the BorderStyle .
public BorderStyle BorderStyle { get; set; }
Public Property BorderStyle As BorderStyle
Property Value
Height
Gets or Sets the height of a form field.
public float Height { get; set; }
Public Property Height As Single
Property Value
ID
Gets or sets the ID of the page element. (Inherited from PageElement)
public string ID { get; set; }
Public Property ID As String
Property Value
MappingName
Gets or Sets an mapping name, of a form field.
public string MappingName { get; set; }
Public Property MappingName As String
Property Value
Name
Gets or Sets the name of a form field.
public string Name { get; set; }
Public Property Name As String
Property Value
Output
Gets or sets output options for the field.
public FormFieldOutput Output { get; set; }
Public Property Output As FormFieldOutput
Property Value
Printable
Gets or Sets the form field printable on Pdf. By default its true.
public bool Printable { get; set; }
Public Property Printable As Boolean
Property Value
ReadOnly
Gets or Sets the read only property status of the form field.
public bool ReadOnly { get; set; }
Public Property ReadOnly As Boolean
Property Value
Rotate
Gets or Sets the angle of a form field. Rotation angle should be multiple of 90, default is 0.
public int Rotate { get; set; }
Public Property Rotate As Int32
Property Value
Tag
Gets or sets the structure element of the form element.
public Tag Tag { get; set; }
Public Property Tag As Tag
Property Value
Licensing
This property is a DynamicPDF Generator Enterprise Edition feature. One of the following licenses is required for non-evaluation usage:
- DynamicPDF Generator for .NET Enterprise Edition
- DynamicPDF Merger for .NET Enterprise Edition
- DynamicPDF ReportWriter for .NET Enterprise Edition
- DynamicPDF Core Suite for .NET Enterprise Edition
TagOrder
Gets or sets the tag order of the taggable element. (Inherited from TaggablePageElement)
public int TagOrder { get; set; }
Public Property TagOrder As Int32
Property Value
TextColor
Gets or Sets the color of the text for the field.
public DeviceColor TextColor { get; set; }
Public Property TextColor As DeviceColor
Property Value
ToolTip
Gets or Sets an alternate field name, of a form field.
public string ToolTip { get; set; }
Public Property ToolTip As String
Property Value
Visible
Gets or Sets the form field visible on Pdf. By default its true.
public bool Visible { get; set; }
Public Property Visible As Boolean
Property Value
Width
Gets or Sets the width of a form field.
public float Width { get; set; }
Public Property Width As Single
Property Value
X
Gets or Sets the X coordinate of a form field.
public float X { get; set; }
Public Property X As Single
Property Value
Y
Gets or Sets the Y coordinate of a form field.
public float Y { get; set; }
Public Property Y As Single
Property Value
Methods
Draw(PageWriter)
Draws the taggable page element to the given PageWriter class. (Inherited from TaggablePageElement)
public void Draw(PageWriter writer)
Sub Draw(writer As PageWriter)
Parameters
- writer: PageWriter
PageWriter class to receive the taggable page elements 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 .