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
1
vote
1 answer

How to loop TextFragment in Aspose.PDF

In a process of writing text to PDF, I'm using TextFragment for setting properties of various fields. Instead of setting for each field separately, how do make use of a loop? My present code: TextFragment a = new TextFragment("Hi!"); …
intruder
  • 417
  • 1
  • 3
  • 18
1
vote
1 answer

Remove text from PDF document using Aspose.PDF library?

I need to delete a text from a PDF document. I am using Aspose for the purpose am currently using TextFragmentAbsorber. FYI, I cannot use any other 3rd party library. Below is the code I am using : private string DeleteMachineReadableCode(string…
Jose Francis
  • 950
  • 13
  • 28
1
vote
1 answer

Service to continue on StackOverflowException

We use a third party library to manipulate Pdf's. Our application runs as a Windows service and handles thousands of files every month. Once in a while someone uploads a malformed Pdf, which makes the library run amok and eventually throw a…
Andreas
  • 1,061
  • 1
  • 11
  • 26
1
vote
0 answers

java.lang.IllegalStateException: Resource file /com/aspose/pdf/engine/commondata/text/cmaps/PredefinedCMaps/ not found in assembly

I'm trying to search text from pdf file and get page number. My code look like this: DocumentUtil.applyAsposeWordLicense(); DocumentUtil.applyAsposePdfLicense(); com.aspose.pdf.Document pdfDocument = new…
Luong Dinh
  • 569
  • 4
  • 17
1
vote
1 answer

Cross reference table or cross reference stream not found in AddImage function

I'm new to Aspose PDF. I don't understand why I'm getting this cross reference error. This happens when the image is being added to the pdf file. Below is the code sample. // Gets the image file to be merged with the document var b1 =…
Musikero31
  • 3,115
  • 6
  • 39
  • 60
1
vote
1 answer

Do Not Page Break on Table in Aspose PDF?

I am trying to stop Aspose PDF from Page Breaking in the middle of my table (C# .NET). We dynamically add information to this PDF, but this table will always be two rows. I have found the table.isBroken attribute always returns true and…
Edge Developers
  • 519
  • 6
  • 15
1
vote
0 answers

Attempting to convert XPS to PDF Documents using Aspose.pdf

I am trying to convert XPS document to a PDF document.I am able to convert some simple XPS documents but not heavy ones. I have taken a free developer license for Aspose. This is a snippet from my code which is dealing with this…
1
vote
1 answer

Difference between XLS and XSLFO

What's the difference between XLS and XSLFO? It's a bit confusing. I want to convert an XLS file to PDF but aspose.pdf documentation doesn't have a XLS-PDF guide (using aspose.pdf). They only have XSLFO to PDF. And I'm wondering if the code in…
mcarltzu
  • 13
  • 8
1
vote
0 answers

Aspose PDF check formatting before fill field

I'm using Aspose PDF to read a PDF, some fields have Format restrictions (ie. The format is set as Number, then no chars can be inputted into the field). However; when I'm trying to fill a field using Aspose PDF, is there any way let Aspose check a…
Hellack
  • 11
  • 2
1
vote
1 answer

Aspose.Pdf Polish Characters

Why my pdf don't display polish character? MemoryStream ms = new MemoryStream(); Pdf pdf = new Pdf(ms); Section section = pdf.Sections.Add(); var txt = new Text("aąbcćde"); txt.TextInfo.FontName =…
devQwerty
  • 106
  • 1
  • 12
1
vote
1 answer

Merging and splitting large PDF documents?

We are using Aspose tools for .Net for PDF manipulation. We have 1000+ pdf documents that needs to merge and then split them again. The merge process will add a separator page between two pdf documents while merging. So that splitting process will…
LP13
  • 30,567
  • 53
  • 217
  • 400
1
vote
1 answer

Aspose.PDF How Replace replace text on PDF page to all upper case

I am trying to replace text on a specific page to upper case using Aspose.PDF for .Net. If anyone can provide any help that would be great. Thank you.
NYTom
  • 524
  • 2
  • 14
1
vote
0 answers

Import annotations (XFDF) to PDF

I have created a sample program to try to import XFDF to PDF using the Aspose library. The program can be run without exception, but the output PDF does not include any annotations. Any suggestions to solve this problem? Update - 2014-12-12 I have…
PrimaryChicken
  • 963
  • 1
  • 8
  • 29
1
vote
1 answer

add TOC to PDF that has both portrait and landscape pages

http://www.aspose.com/docs/display/pdfnet/Add+TOC+to+Existing+PDF I am trying to add a TOC to a PDF that has both portrait and landscape pages similar to the example above. That causes all the pages in the PDF to become portrait and the landscape…
Z .
  • 12,657
  • 1
  • 31
  • 56
1
vote
2 answers

Aspose PDF viewer

I am using the Aspose PDF tools and have successfully got it to print the pdf which is great, but ideally I want to be able to add a wpf control to display this as well. I would have assumed that the PdfViewer class would have something, but I can't…
NAJ
  • 1,175
  • 2
  • 12
  • 22
1 2
3
11 12