Closed
Description
When creating a signature field by creating a custom drawing object the backgroundColor field is ignored while the settings in signatureIndicatorSettings work fine. It would be great for aesthetic purposes that the background color field is not ignored for signature fields.
https://stackblitz.com/edit/angular-wf5rwu-gt6gvb?file=app.component.ts
I'm setting the drawtool like this:
addSignatureField(isInitial = false) {
(this.pdfviewerControl.drawingObject as any) = {
formFieldAnnotationType: 'SignatureField',
name: 'Signature',
color: '#bd0e0e',
backgroundColor: 'rgba(000,000,000, .3)',
isRequired: false,
isPrint: true,
tooltip: 'Test tooltip',
font: {
isItalic: false,
isBold: false,
isStrikeout: false,
isUnderline: false,
},
isInitialField: isInitial,
signatureIndicatorSettings: {
text: 'Test indicator text',
backgroundColor: 'rgba(000,000,000, .3)',
color: '#bd0e0e',
},
};
this.pdfviewerControl.tool = 'DrawTool';
}