I'm currently using the latest version of SpirePDF.
I have an issue wherein the flattened form field does not follow the template's font char spacing for that field.
There's an existing issue for comb fields, but it doesn't work for me.
My current code looks like:
- Code: Select all
string sampleValue = "1234123";
textBoxField.Text = sampleValue;
textBoxField.Flatten = true;
//use fix from comb fields https://www.e-iceblue.com/forum/how-to-flatten-a-field-without-removing-comb-t6125.html
//textBoxField.InsertSpaces = true;
//textBoxField.MaxLength = 7;
//textBoxField.Multiline = false;
//textBoxField.Password = false;
When I set
- Code: Select all
textBoxField.Flatten = false;
The output looks like this,
Desired output should look like this:
Hoping a positive feedback from you.
Thanks,
J