cete.dynamicpdf.merger.forms.pdfbuttonfield
PdfButtonField
- Namespace: ceTe.DynamicPDF.Merger.Forms
- Assemblies: DynamicPDF.CoreSuite.dll
Representing a button field in a PDF document.
public class PdfButtonField : PdfFormField
Public Class PdfButtonField
Inherits PdfFormField
Inheritance: Object → PdfFormField → PdfButtonField
Licensing Info
This class is a DynamicPDF Core Suite Essentials feature. One of the following is required for non-evaluation usage:
- Any active DynamicPDF Subscription (Essentials, Professional, Professional Plus or Ultimate).
- A DynamicPDF Core Suite for .NET v12.X Essentials license.
- It can also be used for free with a public link back to www.dynamicpdf.com and with the DynamicPDF Essentials message displaying on the bottom of each page.
Properties
Align
Gets the text alignment for the field. (Inherited from PdfFormField)
public Align Align { get; }
Public Property Align As Align
Property Value
Licensing Info
This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
BackgroundColor
Gets the background color of a form field. (Inherited from PdfFormField)
public RgbColor BackgroundColor { get; }
Public Property BackgroundColor As RgbColor
Property Value
Licensing Info
This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
BorderColor
Gets the border color of a form field. (Inherited from PdfFormField)
public DeviceColor BorderColor { get; }
Public Property BorderColor As DeviceColor
Property Value
Licensing Info
This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
BorderStyle
Gets the BorderStyle . (Inherited from PdfFormField)
public BorderStyle BorderStyle { get; }
Public Property BorderStyle As BorderStyle
Property Value
Licensing Info
This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
ChildFields
Gets a collection of child form fields. (Inherited from PdfFormField)
public PdfFormFieldList ChildFields { get; }
Public Property ChildFields As PdfFormFieldList
Property Value
Licensing Info
This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Comb
Gets the comb flag status of the form field. (Inherited from PdfFormField)
public bool Comb { get; }
Public Property Comb As Boolean
Property Value
Licensing Info
This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Combo
Gets the combo flag status of the form field. (Inherited from PdfFormField)
public bool Combo { get; }
Public Property Combo As Boolean
Property Value
Licensing Info
This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
CommitOnSelChange
Gets the commit on sel change flag status of the form field. (Inherited from PdfFormField)
public bool CommitOnSelChange { get; }
Public Property CommitOnSelChange As Boolean
Property Value
Licensing Info
This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
DoNotScroll
Gets the do not scroll flag status of the form field. (Inherited from PdfFormField)
public bool DoNotScroll { get; }
Public Property DoNotScroll As Boolean
Property Value
Licensing Info
This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
DoNotSpellCheck
Gets the do not spell check flag status of the form field. (Inherited from PdfFormField)
public bool DoNotSpellCheck { get; }
Public Property DoNotSpellCheck As Boolean
Property Value
Licensing Info
This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Edit
Gets the edit flag status of the form field. (Inherited from PdfFormField)
public bool Edit { get; }
Public Property Edit As Boolean
Property Value
Licensing Info
This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
ExportValue
Gets the export value of the form field.
public string ExportValue { get; }
Public Property ExportValue As String
Property Value
Licensing Info
This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
ExportValues
Gets the export values of the form field. (Inherited from PdfFormField)
public String[] ExportValues { get; }
Public Property ExportValues As String[]
Property Value
Licensing Info
This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
FileSelect
Gets the file select flag status of the form field. (Inherited from PdfFormField)
public bool FileSelect { get; }
Public Property FileSelect As Boolean
Property Value
Licensing Info
This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Font
Gets or Sets the font for the field.
public Font Font { get; }
Public Property Font As Font
Property Value
Licensing Info
This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
FontSize
Gets or Sets the fontsize for the field. (Inherited from PdfFormField)
public float FontSize { get; set; }
Public Property FontSize As Single
Property Value
Licensing Info
This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
FullName
Gets the full name of the form field. (Inherited from PdfFormField)
public string FullName { get; }
Public Property FullName As String
Property Value
Licensing Info
This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
HasChildFields
Gets the type of the form field. (Inherited from PdfFormField)
public bool HasChildFields { get; }
Public Property HasChildFields As Boolean
Property Value
Licensing Info
This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Height
Gets the height of the form field. (Inherited from PdfFormField)
public float Height { get; }
Public Property Height As Single
Property Value
Licensing Info
This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Label
public string Label { get; }
Public Property Label As String
Property Value
Licensing Info
This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Multiline
Gets the multi line flag status of the form field. (Inherited from PdfFormField)
public bool Multiline { get; }
Public Property Multiline As Boolean
Property Value
Licensing Info
This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
MultiSelect
Gets the multi select flag status of the form field. (Inherited from PdfFormField)
public bool MultiSelect { get; }
Public Property MultiSelect As Boolean
Property Value
Licensing Info
This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Name
Gets the partial name of the form field. (Inherited from PdfFormField)
public string Name { get; }
Public Property Name As String
Property Value
Licensing Info
This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
NoExport
Gets the no export flag status of the form field. (Inherited from PdfFormField)
public bool NoExport { get; }
Public Property NoExport As Boolean
Property Value
Licensing Info
This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
None
Gets the form field flags status of the form field. (Inherited from PdfFormField)
public bool None { get; }
Public Property None As Boolean
Property Value
Licensing Info
This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
NoToggleToOff
Gets the no toggle to off property of the button field.
public bool NoToggleToOff { get; }
Public Property NoToggleToOff As Boolean
Property Value
Licensing Info
This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Password
Gets the password flag status of the form field. (Inherited from PdfFormField)
public bool Password { get; }
Public Property Password As Boolean
Property Value
Licensing Info
This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Pushbutton
Gets the push button property of the text field.
public bool Pushbutton { get; }
Public Property Pushbutton As Boolean
Property Value
Licensing Info
This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Radio
Gets the radio property of the text field.
public bool Radio { get; }
Public Property Radio As Boolean
Property Value
Licensing Info
This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
RadiosInUnison
Gets the radio in unision property of the text field.
public bool RadiosInUnison { get; }
Public Property RadiosInUnison As Boolean
Property Value
Licensing Info
This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
ReadOnly
Gets the read only flag status of the form field. (Inherited from PdfFormField)
public bool ReadOnly { get; }
Public Property ReadOnly As Boolean
Property Value
Licensing Info
This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Required
Gets the required flag status of the form field. (Inherited from PdfFormField)
public bool Required { get; }
Public Property Required As Boolean
Property Value
Licensing Info
This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
RichText
Gets the rich text flag status of the form field. (Inherited from PdfFormField)
public bool RichText { get; }
Public Property RichText As Boolean
Property Value
Licensing Info
This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Rotate
Gets the angle of a form field. (Inherited from PdfFormField)
public int Rotate { get; }
Public Property Rotate As Int32
Property Value
Licensing Info
This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Sort
Gets the sort flag status of the form field. (Inherited from PdfFormField)
public bool Sort { get; }
Public Property Sort As Boolean
Property Value
Licensing Info
This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
TextColor
Gets the color of the text for the field. (Inherited from PdfFormField)
public DeviceColor TextColor { get; }
Public Property TextColor As DeviceColor
Property Value
Licensing Info
This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Width
Gets the width of the form field. (Inherited from PdfFormField)
public float Width { get; }
Public Property Width As Single
Property Value
Licensing Info
This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Methods
CreateLabel(Page, Single, Single, String)
Creates a Label object and adds it to the given page at the coordinates of the form field. (Inherited from PdfFormField)
public Label CreateLabel(Page page, float xOffset, float yOffset, string text)
Function CreateLabel(page As Page, xOffset As Single, yOffset As Single, text As String) As Label
Parameters
- page: Page
Page to which the label will be added.
- xOffset: Single
The X coordinate offset for the label.
- yOffset: Single
The Y coordinate offset for the label.
- text: String
The text of the label.
Returns
Licensing Info
This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Remarks
NOTE: For actual Form Flattening, use the FormFlattening property of the Document class (see the Form Flattening Help Topic for more information)
CreateLabel(Page, Single, Single, String, Font, Single)
Creates a Label object and adds it to the given page at the coordinates of the form field. (Inherited from PdfFormField)
public Label CreateLabel(Page page, float xOffset, float yOffset, string text, Font font, float fontSize)
Function CreateLabel(page As Page, xOffset As Single, yOffset As Single, text As String, font As Font, fontSize As Single) As Label
Parameters
- page: Page
Page to which the label will be added.
- xOffset: Single
The X coordinate offset for the label.
- yOffset: Single
The Y coordinate offset for the label.
- text: String
The text of the label.
- font: Font
The font to use for the label.
- fontSize: Single
The font size to use for the label.
Returns
The Label object that was added to the page.
Licensing Info
This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Remarks
NOTE: For actual Form Flattening, use the FormFlattening property of the Document class (see the Form Flattening Help Topic for more information)
CreateLabel(Page, Single, Single, String, Font, Single, TextAlign)
Creates a Label object and adds it to the given page at the coordinates of the form field. (Inherited from PdfFormField)
public Label CreateLabel(Page page, float xOffset, float yOffset, string text, Font font, float fontSize, TextAlign align)
Function CreateLabel(page As Page, xOffset As Single, yOffset As Single, text As String, font As Font, fontSize As Single, align As TextAlign) As Label
Parameters
- page: Page
Page to which the label will be added.
- xOffset: Single
The X coordinate offset for the label.
- yOffset: Single
The Y coordinate offset for the label.
- text: String
The text of the label.
- font: Font
The font to use for the label.
- fontSize: Single
The font size to use for the label.
- align: TextAlign
The text alignment of the label.
Returns
The Label object that was added to the page.
Licensing Info
This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Remarks
NOTE: For actual Form Flattening, use the FormFlattening property of the Document class (see the Form Flattening Help Topic for more information)
CreateLabel(Page, Single, Single, String, Font, Single, TextAlign, Color)
Creates a Label object and adds it to the given page at the coordinates of the form field. (Inherited from PdfFormField)
public Label CreateLabel(Page page, float xOffset, float yOffset, string text, Font font, float fontSize, TextAlign align, Color textColor)
Function CreateLabel(page As Page, xOffset As Single, yOffset As Single, text As String, font As Font, fontSize As Single, align As TextAlign, textColor As Color) As Label
Parameters
- page: Page
Page to which the label will be added.
- xOffset: Single
The X coordinate offset for the label.
- yOffset: Single
The Y coordinate offset for the label.
- text: String
The text of the label.
- font: Font
The font to use for the label.
- fontSize: Single
The font size to use for the label.
- align: TextAlign
The text alignment of the label.
- textColor: Color
The text color of the label.
Returns
The Label object that was added to the page.
Licensing Info
This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Remarks
NOTE: For actual Form Flattening, use the FormFlattening property of the Document class (see the Form Flattening Help Topic for more information)
CreateLabel(Page, String)
Creates a Label object and adds it to the given page at the coordinates of the form field. (Inherited from PdfFormField)
public Label CreateLabel(Page page, string text)
Function CreateLabel(page As Page, text As String) As Label
Parameters
- page: Page
Page to which the label will be added.
- text: String
The text of the label.
Returns
Licensing Info
This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Remarks
NOTE: For actual Form Flattening, use the FormFlattening property of the Document class (see the Form Flattening Help Topic for more information)
CreateLabel(Page, String, Font, Single)
Creates a Label object and adds it to the given page at the coordinates of the form field. (Inherited from PdfFormField)
public Label CreateLabel(Page page, string text, Font font, float fontSize)
Function CreateLabel(page As Page, text As String, font As Font, fontSize As Single) As Label
Parameters
- page: Page
Page to which the label will be added.
- text: String
The text of the label.
- font: Font
The font to use for the label.
- fontSize: Single
The font size to use for the label.
Returns
The Label object that was added to the page.
Licensing Info
This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Remarks
NOTE: For actual Form Flattening, use the FormFlattening property of the Document class (see the Form Flattening Help Topic for more information)
CreateLabel(Page, String, Font, Single, TextAlign)
Creates a Label object and adds it to the given page at the coordinates of the form field. (Inherited from PdfFormField)
public Label CreateLabel(Page page, string text, Font font, float fontSize, TextAlign align)
Function CreateLabel(page As Page, text As String, font As Font, fontSize As Single, align As TextAlign) As Label
Parameters
- page: Page
Page to which the label will be added.
- text: String
The text of the label.
- font: Font
The font to use for the label.
- fontSize: Single
The font size to use for the label.
- align: TextAlign
The text alignment of the label.
Returns
The Label object that was added to the page.
Licensing Info
This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Remarks
NOTE: For actual Form Flattening, use the FormFlattening property of the Document class (see the Form Flattening Help Topic for more information)
CreateLabel(Page, String, Font, Single, TextAlign, Color)
Creates a Label object and adds it to the given page at the coordinates of the form field. (Inherited from PdfFormField)
public Label CreateLabel(Page page, string text, Font font, float fontSize, TextAlign align, Color textColor)
Function CreateLabel(page As Page, text As String, font As Font, fontSize As Single, align As TextAlign, textColor As Color) As Label
Parameters
- page: Page
Page to which the label will be added.
- text: String
The text of the label.
- font: Font
The font to use for the label.
- fontSize: Single
The font size to use for the label.
- align: TextAlign
The text alignment of the label.
- textColor: Color
The text color of the label.
Returns
The Label object that was added to the page.
Licensing Info
This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Remarks
NOTE: For actual Form Flattening, use the FormFlattening property of the Document class (see the Form Flattening Help Topic for more information)
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.
Licensing Info
This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
GetDefaultValue()
Gets the default value of the button field.
public string GetDefaultValue()
Function GetDefaultValue() As String
Returns
Licensing Info
This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
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 .
Licensing Info
This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
GetJavaScriptString()
Gets the type of the form field. (Inherited from PdfFormField)
public string GetJavaScriptString()
Function GetJavaScriptString() As String
Returns
Licensing Info
This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
GetOriginalPageNumber()
Returns the original page number of the form field in the original PDF document. (Inherited from PdfFormField)
public int GetOriginalPageNumber()
Function GetOriginalPageNumber() As Integer
Returns
The page number that the form field appears on (1 based index).
Licensing Info
This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
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.
Licensing Info
This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
GetValue()
Gets the value of the button field.
public string GetValue()
Function GetValue() As String
Returns
Licensing Info
This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
GetX(Page)
Returns the X coordinate of the form field on the given page. (Inherited from PdfFormField)
public float GetX(Page page)
Function GetX(page As Page) As Single
Parameters
- page: Page
Page for which the X coordinates are returned.
Returns
The X coordinate on the given page.
Licensing Info
This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
GetY(Page)
Returns the Y coordinate of the form field on the given page. (Inherited from PdfFormField)
public float GetY(Page page)
Function GetY(page As Page) As Single
Parameters
- page: Page
Page for which the Y coordinates are returned.
Returns
The Y coordinate on the given page.
Licensing Info
This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
HasJavaScript()
Gets the type of the form field. (Inherited from PdfFormField)
public bool HasJavaScript()
Function HasJavaScript() As Boolean
Returns
Licensing Info
This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
PositionPageElement(PageElement, Page)
Sets the position of a page element to the coordinates of the form field. (Inherited from PdfFormField)
public void PositionPageElement(PageElement pageElement, Page page)
Sub PositionPageElement(pageElement As PageElement, page As Page)
Parameters
- pageElement: PageElement
Page element whose coordinates should be set.
- page: Page
Page that contains the page element.
Licensing Info
This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Remarks
The page element must implement IArea and/or ICoordinate in order for it's coordinates to be set.
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 .
Licensing Info
This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.