Image Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
Description
Gets or sets a SignatureImage. The property's value is null, when the signature field has no signature image. When the property is set to null, a previously inserted image is removed.
Syntax
public SignatureImage Image { get; set; }Public Property Image As SignatureImageExamples
The following example adds a named signature field to the document by using SignatureField.Image.
SignatureField signatureField = new(new System.Drawing.Size(3000, 1000), "ApproverSignature", 10);
textControl.SignatureFields.Add(signatureField, FrameInsertionMode.AsCharacter);
signatureField.Image = new SignatureImage(new MemoryStream());
if (signatureField.Image != null)
{
Console.WriteLine("Signature Field: Image is available.");
}Dim signatureField As New SignatureField(New System.Drawing.Size(3000, 1000), "ApproverSignature", 10)
textControl.SignatureFields.Add(signatureField, FrameInsertionMode.AsCharacter)
signatureField.Image = New SignatureImage(New MemoryStream())
If signatureField.Image IsNot Nothing Then
Console.WriteLine("Signature Field: Image is available.")
End If