Skip to main content

PdfSignatureField

Version: 7.0

cete.dynamicpdf.merger.forms.pdfsignaturefield

PdfSignatureField​

Representing a signature field in a PDF document.

public class PdfSignatureField : PdfFormField
Public Class PdfSignatureField
Inherits PdfFormField

Inheritance: Object → PdfFormField → PdfSignatureField

Licensing​

Reading the values or properties of a field is a DynamicPDF Merger Standard Edition feature. 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

Properties​

Align​

Gets the text alignment for the field. (Inherited from PdfFormField)

public Align Align { get; }
Public Property Align As Align

Property Value​

Align

BackgroundColor​

Gets the background color of a form field. (Inherited from PdfFormField)

public RgbColor BackgroundColor { get; }
Public Property BackgroundColor As RgbColor

Property Value​

RgbColor

BorderColor​

Gets the border color of a form field. (Inherited from PdfFormField)

public DeviceColor BorderColor { get; }
Public Property BorderColor As DeviceColor

Property Value​

DeviceColor

BorderStyle​

Gets the BorderStyle . (Inherited from PdfFormField)

public BorderStyle BorderStyle { get; }
Public Property BorderStyle As BorderStyle

Property Value​

BorderStyle

ChildFields​

Gets a collection of child form fields. (Inherited from PdfFormField)

public PdfFormFieldList ChildFields { get; }
Public Property ChildFields As PdfFormFieldList

Property Value​

PdfFormFieldList

ExportValue​

Gets the export value of the form field. (Inherited from PdfFormField)

public string ExportValue { get; }
Public Property ExportValue As String

Property Value​

String

Flags​

Gets the partial name of the form field. (Inherited from PdfFormField)

public FormFieldFlags Flags { get; }
Public Property Flags As FormFieldFlags

Property Value​

FormFieldFlags

Font​

Gets or Sets the font for the field. (Inherited from PdfFormField)

public Font Font { get; set; }
Public Property Font As Font

Property Value​

Font

FontSize​

Gets or Sets the fontsize for the field. (Inherited from PdfFormField)

public float FontSize { get; set; }
Public Property FontSize As Single

Property Value​

Single

FullName​

Gets the full name of the form field. (Inherited from PdfFormField)

public string FullName { get; }
Public Property FullName As String

Property Value​

String

HasChildFields​

Gets the type of the form field. (Inherited from PdfFormField)

public bool HasChildFields { get; }
Public Property HasChildFields As Boolean

Property Value​

Boolean

Height​

Gets the height of the form field. (Inherited from PdfFormField)

public float Height { get; }
Public Property Height As Single

Property Value​

Single

Name​

Gets the partial name of the form field. (Inherited from PdfFormField)

public string Name { get; }
Public Property Name As String

Property Value​

String

Rotate​

Gets the angle of a form field. (Inherited from PdfFormField)

public int Rotate { get; }
Public Property Rotate As Int32

Property Value​

Int32

TextColor​

Gets the color of the text for the field. (Inherited from PdfFormField)

public DeviceColor TextColor { get; }
Public Property TextColor As DeviceColor

Property Value​

DeviceColor

Width​

Gets the width of the form field. (Inherited from PdfFormField)

public float Width { get; }
Public Property Width As Single

Property Value​

Single

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 to which the label will be added.

The X coordinate offset for the label.

The Y coordinate offset for the label.

The text of the label.

Returns​

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 to which the label will be added.

The X coordinate offset for the label.

The Y coordinate offset for the label.

The text of the label.

The font to use for the label.

The font size to use for the label.

Returns​

The Label object that was added to the page.

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 to which the label will be added.

The X coordinate offset for the label.

The Y coordinate offset for the label.

The text of the label.

The font to use for the label.

The font size to use for the label.

The text alignment of the label.

Returns​

The Label object that was added to the page.

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 to which the label will be added.

The X coordinate offset for the label.

The Y coordinate offset for the label.

The text of the label.

The font to use for the label.

The font size to use for the label.

The text alignment of the label.

The text color of the label.

Returns​

The Label object that was added to the page.

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 to which the label will be added.

The text of the label.

Returns​

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 to which the label will be added.

The text of the label.

The font to use for the label.

The font size to use for the label.

Returns​

The Label object that was added to the page.

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 to which the label will be added.

The text of the label.

The font to use for the label.

The font size to use for the label.

The text alignment of the label.

Returns​

The Label object that was added to the page.

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 to which the label will be added.

The text of the label.

The font to use for the label.

The font size to use for the label.

The text alignment of the label.

The text color of the label.

Returns​

The Label object that was added to the page.

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​

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 .

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).

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.

GetValue()​

Gets the value of the form field. (Inherited from PdfFormField)

public string GetValue()
Function GetValue() As String

Returns​

A string containing the value.

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 for which the X coordinates are returned.

Returns​

The X coordinate on the given page.

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 for which the Y coordinates are returned.

Returns​

The Y coordinate on the given page.

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​

Page element whose coordinates should be set.

Page that contains the page element.

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 .

See Also​

ceTe.DynamicPDF.Merger.Forms