Skip to main content
All docs
V21.2
.NET Framework 4.5.2+

PdfSignatureFormFieldFacade Class

Exposes a set of properties used to modify signature form fields without access to their inner structure.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Pdf.v21.2.Core.dll

Declaration

public class PdfSignatureFormFieldFacade :
    PdfFormFieldFacade<PdfSignatureWidgetFacade, PdfSignatureFormField>

Remarks

The code sample below changes the signature form field properties:

using (PdfDocumentProcessor pdfDocumentProcessor = new PdfDocumentProcessor())
{
    pdfDocumentProcessor.LoadDocument("Documents//FormDemo.pdf");

    PdfDocumentFacade documentFacade = pdfDocumentProcessor.DocumentFacade;
    PdfAcroFormFacade acroForm = documentFacade.AcroForm;

    PdfSignatureFormFieldFacade signatureField = acroForm.GetSignatureFormField("Signature");
    signatureField.Required = true;

    PdfSignatureWidgetFacade signatureWidget = signatureField.Widgets[0];
    signatureWidget.BorderWidth = 1;
    signatureWidget.BackgroundColor = new PdfRGBColor(0.81, 0.81, 0.81);
    signatureWidget.BorderColor = new PdfRGBColor(0.47, 0.44, 0.67);
    signatureWidget.FontColor = new PdfRGBColor(0.34, 0.25, 0.36);
} 

Inheritance

Object
PdfFormFieldFacade
PdfFormFieldFacade<PdfSignatureWidgetFacade, DevExpress.Pdf.PdfSignatureFormField>
PdfSignatureFormFieldFacade
See Also