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

aspose pdf: How to select a radio button in XFA?

I am trying to update field in a XFA pdf file. I am able to do so for text fields: XFA xfa = doc.getForm().get_xfa(); xfa.set_Item("field", "value"); How to make a radio button selection this way?
Mandroid
  • 6,200
  • 12
  • 64
  • 134
0
votes
0 answers

Aspose.PDF Change page from horizontal to vertical without rotating content of page

I have PDF generated from third party. When I add that PDF to document like this: var labelBytes = client.DownloadData(url); var stream = new MemoryStream(labelBytes); Document labelDocument = new Document(labelStream); I get PDF page horizontal,…
0
votes
1 answer

Split PDF Into Separate Files By Child Bookmarks

I am trying to split PDF file (book) to multiple files by child bookmarks in code Use case: table of contents of a book is available for a user. User can select up to n sections (might be not sequential) to preview. Application need to extract this…
0
votes
0 answers

Creating a request collection to send and get one response C#

I am working on redacting a pdf file using Aspose.pdf but I want to be able to redact multiple area on the same page. I have been sending my request using this: public record redactPdfRequest(string encodedString, int pages, int coordinateX, int…
Usz-i
  • 1
0
votes
0 answers

How to merge multiple PDF/A files and generate new PDF/A in java

I want to merge multiple PDF/A files and generated a new PDF/A file using java. I tried it with OpenPDF using PdfCopy class but it produced pdf document which does not conform to the PDF/A-1a standard. Also tried with pdf-box and aspose-pdf library…
0
votes
0 answers

Aspose.PDF Change page size and keep vertically aligned centered

I have a PDF generated by a third party with incorrect dimensions. They need to be both wider and taller. Using the code below to transform into A4, the page becomes the correct dimensions, but the content is placed in the bottom left corner. Is it…
Pochen
  • 2,871
  • 3
  • 22
  • 27
0
votes
1 answer

Creating a PDF from HTML string is duplicating Links in Parenthesis and inline CSS style is not applying to all text Aspose.PDF

I am currently creating a PDF document from an HTML string. During creation my HTML string has inline CSS styles as well as a tag that are typically converted and reflect correctly on the PDF. For this current instance I'm running into a problem…
0
votes
1 answer

how to include aspose.pdf.cpp in vs c++ project?

I am trying to implement this basic example https://docs.aspose.com/pdf/cpp/hello-world-example/ but I am getting errors that MakeObject, Document and TextFragment are not defined. I was developing on vscode but then I realized that aspose can be…
Robinson
  • 13
  • 3
0
votes
1 answer

Filling Data according to a Template file(DOTX) using Aspose .NET

I have a MS word template file (DOTX). It has Header, Footer and Body. Inside body, there are some labels like Header Emp ID: Emp Name: Footer Now I need to fill up those labels with data using Aspose Words .Net My task is to generate the doc files…
0
votes
1 answer

Converting date string to DateTime (Aspose PDF Library)

I'm using the Aspose library within PowerShell and having some issues with the CreationDate values that Aspose is giving me back. $pdf = New-Object Aspose.Pdf.Facades.PdfFileInfo($pdffile) $pdf.CreationDate This returns a string with the value…
0
votes
0 answers

Field validation in editable pdf while filling data

I have editable pdf with fields name, roll number , DOB and city, I want to validate the fields like, for example when I enter the value in roll number field, if name is empty then it should alert "name is empty" and similar to roll number and DOB…
mail2vguna
  • 25
  • 2
  • 9
0
votes
1 answer

How to query the Base Paragraph element position? in order to add Link Annotation without saving the file

I'm creating a simple PDF file with some text and an hyperlink attached to the that text: Document pdfDocument = new Document(); Page pdfPage = pdfDocument.Pages.Add(); TextFragment textFragment = new TextFragment("My Text"); Table table = new…
Shahar Shokrani
  • 7,598
  • 9
  • 48
  • 91
0
votes
0 answers

Show multiple images on one page of PDF using aspose

I am trying to show multiple images on one page in PDF if I have 40 images it is creating 47 pages in pdf how can I display one or two images on one page Can you please help me
0
votes
1 answer

Converting a Aspose.Words HEX to PDF

I need to convert a PDF encoded as HEX, back into a base 64 string via JavaScript. I only have access to the hex string, not to the encoding tools, so I can't reverse engineer it. From what I've been told and can 'see' when I convert the hex to…
Carl-Johan
  • 77
  • 4
  • 11
0
votes
1 answer

Save Excel File as Word in Java with aspose library

I have an excel file that i want to save as Document (word) in java, i tried to use Aspose library, i didn't find a way to convert from excel to word, so i converted the excel file to pdf and then from pdf to word . That's what i did : import…
dEs12ZER
  • 788
  • 4
  • 24
  • 51