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.

Tue Mar 14, 2023 7:30 pm

Hello, I get next error then try to use next code(it's a problem only for PDF, Docx works fine):
Code: Select all
using var ms = new MemoryStream();
document.SaveToStream(ms, new ToPdfParameterList { IsEmbeddedAllFonts = true, DisableLink = true });



at sprⲚ.ᜆ()
at sprⲚ.ᜉ()
at spr⦣.᜛()
at spr⦣.᜘()
at spr⦣.ᜳ()
at spr⧧.ᜀ(Document A_0, spr⧇ A_1)
at Spire.Doc.Document.ᜄ(ToPdfParameterList A_0)
at Spire.Doc.Document.ឝ()
at spr⫾.ᜀ()
at spr⫽.ᜂ(spr⬕ A_0)
at spr⬒.ᜀ(spr⬕ A_0, spr⬕ A_1)
at spr⬒.ᜀ(DocumentObject A_0, spr⬒ A_1)
at spr⬒.ᜂ(DocumentObject A_0)
at Spire.Doc.Document.ᜂ()
at Spire.Doc.Document.ᜀ(Stream A_0, ToPdfParameterList A_1, FileFormat A_2)
at Spire.Doc.Document.ᜅ(Stream A_0, ToPdfParameterList A_1)
at Spire.Doc.Document.SaveToStream(Stream stream, ToPdfParameterList paramList)

Mikhail.Marynakou
 
Posts: 3
Joined: Thu May 12, 2022 10:29 am

Wed Mar 15, 2023 5:44 am

Hi Mikhail.Marynakou,

Thanks for your message.
Please provide us with the following information for further investigation.
1.Your input files(if any), which you can upload them here or provide to us by email ([email protected])
2. Your full testing code.
3.Your system information (E.g. Win10, 64 bit) and region setting (E.g. China, Chinese).

Best Regards,
Herman
E-iceblue support team
User avatar

Herman.Yan
 
Posts: 115
Joined: Wed Mar 08, 2023 2:00 am

Return to Spire.PDF