Class SignatureFieldAppearance
Extension of the FormField<T> class representing a signature field in PDF.
public class SignatureFieldAppearance : FormField<SignatureFieldAppearance>, IFormField, IBlockElement, IAbstractElement, IElement, IPropertyContainer, IAccessibleElement
- Inheritance
-
SignatureFieldAppearance
- Implements
- Inherited Members
Constructors
SignatureFieldAppearance(string)
Creates a new SignatureFieldAppearance instance.
public SignatureFieldAppearance(string id)
Parameters
id
stringthe id.
Methods
GetAccessibilityProperties()
public override AccessibilityProperties GetAccessibilityProperties()
Returns
GetContentElements()
Gets the final content for this signature.
public virtual IList<IElement> GetContentElements()
Returns
GetId()
public override string GetId()
Returns
GetSignedAppearanceText()
Gets the SignedAppearanceText instance for this signature.
public virtual SignedAppearanceText GetSignedAppearanceText()
Returns
- SignedAppearanceText
SignedAppearanceText instance if it was set by SetContent(SignedAppearanceText) , null otherwise.
MakeNewRenderer()
protected override IRenderer MakeNewRenderer()
Returns
SetContent(string)
Sets the content for this signature.
public virtual SignatureFieldAppearance SetContent(string description)
Parameters
description
stringthe signature text identifying the signer.
Returns
- SignatureFieldAppearance
this same SignatureFieldAppearance instance.
SetContent(string, string)
Sets the content for this signature.
public virtual SignatureFieldAppearance SetContent(string signerName, string description)
Parameters
signerName
stringthe name of the signer from the certificate.
description
stringthe signature text identifying the signer.
Returns
- SignatureFieldAppearance
this same SignatureFieldAppearance instance.
SetContent(string, SignedAppearanceText)
Sets the content for this signature.
public virtual SignatureFieldAppearance SetContent(string signerName, SignedAppearanceText description)
Parameters
signerName
stringthe name of the signer from the certificate.
description
SignedAppearanceTextSignedAppearanceText instance representing the signature text identifying the signer.
Returns
- SignatureFieldAppearance
this same SignatureFieldAppearance instance.
SetContent(string, ImageData)
Sets the content for this signature.
public virtual SignatureFieldAppearance SetContent(string description, ImageData image)
Parameters
description
stringthe signature text identifying the signer.
image
ImageDatathe Image object to render.
Returns
- SignatureFieldAppearance
this same SignatureFieldAppearance instance.
SetContent(SignedAppearanceText)
Sets the content for this signature.
public virtual SignatureFieldAppearance SetContent(SignedAppearanceText description)
Parameters
description
SignedAppearanceTextSignedAppearanceText instance representing the signature text identifying the signer.
Returns
- SignatureFieldAppearance
this same SignatureFieldAppearance instance.
SetContent(SignedAppearanceText, ImageData)
Sets the content for this signature.
public virtual SignatureFieldAppearance SetContent(SignedAppearanceText description, ImageData image)
Parameters
description
SignedAppearanceTextSignedAppearanceText instance representing the signature text identifying the signer.
image
ImageDatathe Image object to render.
Returns
- SignatureFieldAppearance
this same SignatureFieldAppearance instance.
SetContent(ImageData)
Sets the content for this signature.
public virtual SignatureFieldAppearance SetContent(ImageData image)
Parameters
image
ImageDatathe Image object to render.
Returns
- SignatureFieldAppearance
this same SignatureFieldAppearance instance.
SetContent(Div)
Sets the content for this signature.
public virtual SignatureFieldAppearance SetContent(Div data)
Parameters
data
Divthe custom signature data which will be rendered.
Returns
- SignatureFieldAppearance
this same SignatureFieldAppearance instance.
SetSignerName(string)
Replaces the signer name for this signature if it was set by SetContent(SignedAppearanceText).
public virtual void SetSignerName(string signerName)
Parameters
signerName
stringsigner name to set.