Class ExcelSignatureLine
Signature line which can contain either text or an image as the signature.
Inheritance
System.Object
ExcelSignatureLine
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OfficeOpenXml.Drawing
Assembly: EPPlus.dll
Syntax
public class ExcelSignatureLine : ExcelSignatureLineStamp
Properties
SignatureText
The Signature itself. Cannot be set if IsStamp is true. Note that setting SignatureText will erase SignatureImage and vice-versa.
Declaration
public string SignatureText { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
SignWithText(X509Certificate2, String)
Sign with text
Declaration
public ExcelDigitalSignature SignWithText(X509Certificate2 certificate, string signatureText)
Parameters
Type | Name | Description |
---|---|---|
System.Security.Cryptography.X509Certificates.X509Certificate2 | certificate | |
System.String | signatureText | Cannot be null or empty |
Returns
Type | Description |
---|---|
ExcelDigitalSignature |