Identifying Signature form field

Stimulsoft Reports.WEB discussion
Post Reply
denicol
Posts: 1
Joined: Tue Jan 19, 2021 12:55 pm

Identifying Signature form field

Post by denicol »

Hi!
I'm using tag pdfunsignedsignaturefield in two or more elements in one report page and I need to identify each one is.
But when I export in PDF, the only property is key name with ]UnsignedSignature0, UnsignedSignature1. UnsignedSignature2, ...

Can I specify this key name or other property in export settings?
Thanks!
Lech Kulikowski
Posts: 7334
Joined: Tue Mar 20, 2018 5:34 am

Re: Identifying Signature form field

Post by Lech Kulikowski »

Hello,

We are use the following code:
string fieldName = string.Empty;
if (StiOptions.Export.Pdf.UseEditableFieldName) fieldName = seo.Component.Name;
if (StiOptions.Export.Pdf.UseEditableFieldAlias) fieldName = seo.Component.Alias;
if (StiOptions.Export.Pdf.UseEditableFieldTag) fieldName = seo.Component.TagValue as string;
if (string.IsNullOrEmpty(fieldName)) fieldName = string.Format("UnsignedSignature{0}", index);

you can set UseEditableFieldName, UseEditableFieldAlias or UseEditableFieldTag

Thank you.
Post Reply