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 Nov 11, 2024 9:46 am

When few fillable pdf's are unable to flattern by using the below code in .net mvc 4.5.1 with spire 8.2.2 licensed version.

PdfDocument doc = new PdfDocument(PDFPath);
if (doc.Form != null)
{
_logger.Info("fillable pdf");
doc.Form.IsFlatten = true;
}

the sample fillable pdf is attached. Need to convert it as flattern pdf and need to compress its size too.

jeyaraja
 
Posts: 7
Joined: Tue Nov 10, 2020 4:30 pm

Tue Nov 12, 2024 6:46 am

Hi,

Thank you for your message.
I tested the file you provided and encountered this error message when trying to save it: "Object reference not set to an instance of an object." Did you also encounter this error?

Sincerely,
Doris
E-iceblue support team
User avatar

Doris.Liu
 
Posts: 460
Joined: Mon Nov 07, 2022 8:10 am

Wed Nov 13, 2024 10:16 am

Doris.Liu wrote:Hi,

Thank you for your message.
I tested the file you provided and encountered this error message when trying to save it: "Object reference not set to an instance of an object." Did you also encounter this error?

Sincerely,
Doris
E-iceblue support team



Hi,

No, when using the below no error came but pdf is not converted.
PdfDocument doc = new PdfDocument(PDFPath);
if (doc.Form != null)
{
_logger.Info("fillable pdf");
doc.Form.IsFlatten = true;
}

when using the below it gives "Object reference not set to an instance of an object." error

foreach (PdfPageBase page in doc.Pages)

jeyaraja
 
Posts: 7
Joined: Tue Nov 10, 2020 4:30 pm

Thu Nov 14, 2024 10:02 am

Hi,

I have logged this error into our bug tracking system with the number SPIREPDF-7185. Once the development team fixes it, we will update you promptly. Sorry for any inconvenience caused.

Sincerely,
Doris
E-iceblue support team
User avatar

Doris.Liu
 
Posts: 460
Joined: Mon Nov 07, 2022 8:10 am

Thu Nov 14, 2024 11:02 am

Doris.Liu wrote:Hi,

I have logged this error into our bug tracking system with the number SPIREPDF-7185. Once the development team fixes it, we will update you promptly. Sorry for any inconvenience caused.

Sincerely,
Doris
E-iceblue support team



Hi,
Thanks for the response.

jeyaraja
 
Posts: 7
Joined: Tue Nov 10, 2020 4:30 pm

Tue Nov 19, 2024 10:23 am

Doris.Liu wrote:Hi,

I have logged this error into our bug tracking system with the number SPIREPDF-7185. Once the development team fixes it, we will update you promptly. Sorry for any inconvenience caused.

Sincerely,
Doris
E-iceblue support team



Hi,

Eagerly waiting for your reply.

jeyaraja
 
Posts: 7
Joined: Tue Nov 10, 2020 4:30 pm

Wed Nov 20, 2024 1:31 am

Hi,

Thanks for your patience.
Our developers have addressed the issue you mentioned and it is soon to enter the testing phase. Once the testing is approved, we will promptly notify you when we release the new version.

Sincerely,
Doris
E-iceblue support team
User avatar

Doris.Liu
 
Posts: 460
Joined: Mon Nov 07, 2022 8:10 am

Mon Nov 25, 2024 7:14 am

Doris.Liu wrote:Hi,

Thanks for your patience.
Our developers have addressed the issue you mentioned and it is soon to enter the testing phase. Once the testing is approved, we will promptly notify you when we release the new version.

Sincerely,
Doris
E-iceblue support team



Hi,

is there any update? We are waiting for your response.

jeyaraja
 
Posts: 7
Joined: Tue Nov 10, 2020 4:30 pm

Mon Nov 25, 2024 8:31 am

Hi,

This issue is currently in the testing phase. Once it passes the tests, we will update you promptly. Thank you for your patience.

Sincerely,
Doris
E-iceblue support team
User avatar

Doris.Liu
 
Posts: 460
Joined: Mon Nov 07, 2022 8:10 am

Mon Dec 09, 2024 6:04 am

Hi,

Hope all is going well. When can we expect the solution? Because we are hardly waiting for the production release to our clients. Please do the needful as soon as possible.

jeyaraja
 
Posts: 7
Joined: Tue Nov 10, 2020 4:30 pm

Mon Dec 09, 2024 6:30 am

Hi,

I'm sorry, but this issue is still under testing and there is some time before the official version is released. However, I can apply for a temporary version for you, If you need it, please let me know.

Sincerely,
Doris
E-iceblue support team
User avatar

Doris.Liu
 
Posts: 460
Joined: Mon Nov 07, 2022 8:10 am

Fri Dec 20, 2024 7:40 am

Hi,

Thank you for your patience.
Glad to inform you we have released Spire.PDF 10.12.4, which contains the fix of SPIREPDF-7185. Welcome to download it from the following link and test!

Website download:https://www.e-iceblue.com/Download/download-pdf-for-net-now.html
Nuget Download:
https://www.nuget.org/packages/Spire.PDF/10.12.4
https://www.nuget.org/packages/Spire.PDFfor.NETStandard/10.12.4

Sincerely,
Doris
E-iceblue support team
User avatar

Doris.Liu
 
Posts: 460
Joined: Mon Nov 07, 2022 8:10 am

Mon Dec 23, 2024 10:30 am

HI,

Thanks for the update. We will check and let you know

jeyaraja
 
Posts: 7
Joined: Tue Nov 10, 2020 4:30 pm

Return to Spire.PDF

cron