Questions tagged [aspose.pdf]

Aspose.Pdf for .NET is a PDF document creation and manipulation component that enables your .NET applications to read, write and manipulate existing PDF documents without using Adobe Acrobat. It also allows you to create forms and manage form fields embedded in a PDF document.

About

Aspose.Pdf for .NET is affordable and offers an incredible wealth of features including PDF compression options; table creation and manipulation; support for graph objects; extensive hyperlink functionality; extended security controls; custom font handling; integration with data sources; add or remove bookmarks; create table of contents; add, update, delete attachments and annotations; import or export PDF form data; add, replace or remove text and images; split, concatenate, extract or inset pages; transform pages to image; print PDF documents and much more.

Links

Website

Documentation

177 questions
0
votes
0 answers

System.InvalidOperationException: C#

I'm using the Aspose lib to convert a PDF file to Excel file, my code below: using Aspose.Pdf; public async Task convertPDFtoEXCEL(Document pdfFile, string root, string fileName) { // Initialize ExcelSaveOptions ExcelSaveOptions opts = new…
Miriam F.
  • 21
  • 1
  • 7
0
votes
0 answers

Aspose.PDF Java Getting com.aspose.pdf.internal.ms.System.l7k: Collection is of a fixed size Exception while replacing text in a PDF Document

I am evaluating Aspose.PDF's Java API to redact PII data in my PDF files and replace them with obfuscated text. My PDF contains some data as follows: B, KATILDE A, RICHARD S, NARTURO The order of appearance of these text values is same as in the…
Manchanda. P
  • 221
  • 1
  • 4
  • 19
0
votes
1 answer

Aspose System Unauthorized Access Exception

When trying to implement Aspose sample code below I'm getting System.UnauthorizedAccessException because it's trying to save to a forbidden directory. I have a known server path to output this file correctly, but I didn't find how to setup Aspose on…
rd1218
  • 134
  • 12
0
votes
0 answers

Saving a Pdf/Docx with Aspose failed because of java 17 missing fonts in linux

I convert pdf file to docx on windows with JDK17 and Aspose without any problem. But when I run the same code on Linux I get this error when trying to save a PDF file as Docx using the AsposePDF/AsposeWords…
EH Sports
  • 63
  • 6
0
votes
1 answer

Want to apply Script fonts to particular field value in PDF using aspose pdf .net

I want to apply Script fonts to particular field value in PDF. I am using aspose PDF. But that font is not applying. Here is steps I have followed : I have downloaded ttf file. Created new folder in project and added font in that folder. Then I am…
Sami In
  • 246
  • 2
  • 11
0
votes
1 answer

Getting error while converting pdf file to array from url

I want to convert pdf file to array to further usage.. I am using Aspose PDF I am getting PDF file from URL like this : "https:\testuploadsnewversion.blob.core.windows.net\files\740.pdf" I am trying to convert PDF to array using following way : But…
Sami In
  • 246
  • 2
  • 11
0
votes
1 answer

Proxy error(NullReferenceException) in aspose.pdf (python via .Net)

To convert pdf to HTML, I am using the aspose.pdf library. I have installed the library through pip3 install aspose-pdf. This library works fine for my Windows machine in Python, version 3.8. But facing an error in linux machine: Proxy…
0
votes
0 answers

document.save("output.pdf") RuntimeError: Proxy error(ArgumentNullException): Value cannot be null. (Parameter 'key')

I have the following code: import aspose.pdf as pdf # Load input PDF document document = pdf.Document("some_pdf.pdf") # Initialize the TeXSaveOptions texSaveOptions = pdf.TeXSaveOptions() # Convert the PDF to TEX…
0
votes
0 answers

RuntimeError: Proxy error(ArgumentNullException) in aspose.pdf (python via .Net)

To convert pdf to HTML, I am using the aspose.pdf library. I have installed the library through pip3 install aspose-pdf. This library works fine for my Windows machine in Python, version 3.8 to 3.10. But facing an: error in linux machine:…
0
votes
0 answers

Not able to Line Spacing value between 0 to 1 in TextFragment Aspose.pdf

I'm trying to set the line spacing of a TextFragment object using Aspose.pdf in C#, but I'm unable to set the value between 0 to 1. I also want to set the line spacing to a value less than 1, such as 0.82, but it seems to be getting rounded up to 1.…
0
votes
0 answers

custom fonts not working with HtmlFragment Aspose.PDF

I'm trying to use a custom font with HtmlFragment in Aspose.pdf for .NET, but I'm not able to get it to work. I'm using the FontRepository.OpenFont function to load the font from a file, but it doesn't seem to be applied to the text in the…
0
votes
1 answer

Aspose PDF library throwing - Unhandled exception. System.TypeLoadException: Cannot load type 'System.Void, mscorlib

I'm getting this exception "Unhandled exception. System.TypeLoadException: Cannot load type 'System.Void, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'." While using Aspose PDF in our QA env, which is dockerized from…
Sreeraj TR
  • 99
  • 1
  • 12
0
votes
1 answer

Using many conditions on ASPOSE <> statement

I'm creating a word document to use it with Aspose for document generation. I need to add a conditional <> with many conditions: I tried : <> Write something <> <> Write…
MAyadi
  • 13
  • 3
0
votes
0 answers

Aspose License not working correctly for spring-boot application

I have a spring-boot application which has a public rest api endpoint. The api extracts text from a given pdf file. I am loading the Aspose license in a static initialising block and it loads correctly. public class AsposeLicenseLoader { private…
0
votes
1 answer

The access to the path “C:\….” is denied when a user drag-and-drops a file

I’m making a UWP app with Visual Studio 2022. A user can convert .xml and .xsl into a .pdf by drag-and-dropping them into an app. The problem is that Aspose can’t read xml neither xsl. They try to access its path obtained from drag-and-drop. I think…
Watanabe.N
  • 1,549
  • 1
  • 14
  • 37