Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Mon Apr 24, 2017 4:01 pm

I was trying out the free version of Spire.PDF's flatten function. I have a form field that is centered. When I flatten the pdf, the form field is left justified. Is there any way to control this using the API or is it a bug?

I also tried the most current version available on nuget and it exhibits the same behavior.

rriopel432
 
Posts: 2
Joined: Fri Apr 21, 2017 6:58 pm

Tue Apr 25, 2017 3:09 am

Dear rriopel432,

Thanks for your inquiry.
After an initial testing, sorry that I didn't find the issue you mentioned. Please provide us with the input file and the code you were using for testing.

Thanks,
Betsy
E-iceblue support team
Last edited by Betsy.jiang on Fri Apr 28, 2017 2:59 am, edited 1 time in total.
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Thu Apr 27, 2017 1:29 pm

I've zipped up a sample program that loads the pdf, sets the flatten flag and saves it. The title fields are centered in the original pdf but left justified in the flattened pdf.

I can't include the spire.pdf.dll since it makes the zip file too big but it's version 3.2.52.56040.

rriopel432
 
Posts: 2
Joined: Fri Apr 21, 2017 6:58 pm

Fri Apr 28, 2017 3:01 am

Dear rriopel432,

Many thanks for the detail.
I have noticed the issue and posted it to our Dev team. Once there is any great progress, we will let you know.
Sorry for inconvenience caused.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Thu May 25, 2017 9:45 am

Dear rriopel432,

Thanks for waiting.
Now the issue has been fixed in Spire.PDF Pack(Hot Fix) Version:3.9.124, welcome to have a test.
Looking forward to your feedback.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Return to Spire.PDF