SaveAsImage() doesn't retain char spacing in flattened field

Technical support for Spire.PDF

Moderator: iceblue support

SaveAsImage() doesn't retain char spacing in flattened field

Postby kamatisaku » Wed Jul 26, 2017 7:51 am

Hi,

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.
2017-07-26_15-24-35.png


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,
2017-07-26_15-46-33.png


Desired output should look like this:
2017-07-26_15-27-11.png



Hoping a positive feedback from you.

Thanks,

J
You do not have the required permissions to view the files attached to this post.
kamatisaku
 
Posts: 1
Joined: Wed Jul 26, 2017 4:11 am

Re: SaveAsImage() doesn't retain char spacing in flattened f

Postby Betsy.jiang » Wed Jul 26, 2017 8:36 am

Dear J,

Thanks for your inquiry.
I have noticed the issue using the sample file from the link you mentioned, and posted it to our Dev team. Once there is any progress, we will let you know.
Sorry for inconvenivence caused.

Sincerely,
Betsy
E-iceblue support team
User avatar
Betsy.jiang
 
Posts: 1320
Joined: Tue Sep 06, 2016 8:30 am

Re: SaveAsImage() doesn't retain char spacing in flattened f

Postby Betsy.jiang » Thu Aug 10, 2017 7:04 am

Dear J,

Thanks for waiting.
Now the issue has been fixed in following hotfix, welcome to have a try.
http://www.e-iceblue.com/downloads/hot_ ... .9.277.zip
Looking forward to your feedback.

Sincerely,
Betsy
E-iceblue support team
User avatar
Betsy.jiang
 
Posts: 1320
Joined: Tue Sep 06, 2016 8:30 am


Return to Spire.PDF

Who is online

Users browsing this forum: No registered users and 0 guests