Table of Contents

Class SignedAppearanceText

Namespace
iText.Forms.Fields.Properties
Assembly
itext.forms.dll

Class representing the signature text identifying the signer.

public class SignedAppearanceText
Inheritance
SignedAppearanceText
Inherited Members

Constructors

SignedAppearanceText()

Creates a new SignedAppearanceText instance.

public SignedAppearanceText()

Methods

GenerateDescriptionText()

Generates the signature description text based on the provided parameters.

public virtual string GenerateDescriptionText()

Returns

string

signature description.

GetLocationLine()

Returns the signing location.

public virtual string GetLocationLine()

Returns

string

signing location.

GetReasonLine()

Returns the signing reason.

public virtual string GetReasonLine()

Returns

string

reason for signing.

GetSignDate()

Returns the signature date.

public virtual DateTime GetSignDate()

Returns

DateTime

the signature date

GetSignedBy()

Gets the name of the signer from the certificate.

public virtual string GetSignedBy()

Returns

string

signedBy name of the signer.

SetLocationLine(string)

Sets the signing location.

public virtual SignedAppearanceText SetLocationLine(string location)

Parameters

location string

new signing location.

Returns

SignedAppearanceText

this same SignedAppearanceText instance.

Remarks

Sets the signing location.

Note, that this location won't be passed to the signature dictionary. If none is set, value set by PdfSigner#setLocation will be used.

SetReasonLine(string)

Sets the signing reason.

public virtual SignedAppearanceText SetReasonLine(string reason)

Parameters

reason string

signing reason.

Returns

SignedAppearanceText

this same SignedAppearanceText instance.

Remarks

Sets the signing reason.

Note, that this reason won't be passed to the signature dictionary. If none is set, value set by PdfSigner#setReason will be used.

SetSignDate(DateTime)

Sets the signature date.

public virtual SignedAppearanceText SetSignDate(DateTime signDate)

Parameters

signDate DateTime

new signature date.

Returns

SignedAppearanceText

this same SignedAppearanceText instance.

Remarks

Sets the signature date.

Note, that the signing date will be replaced by the one from the PdfSigner during the signing.

SetSignedBy(string)

Sets the name of the signer from the certificate.

public virtual SignedAppearanceText SetSignedBy(string signedBy)

Parameters

signedBy string

name of the signer.

Returns

SignedAppearanceText

this same SignedAppearanceText instance.

Remarks

Sets the name of the signer from the certificate.

Note, that the signer name will be replaced by the one from the signing certificate during the actual signing.