Questions tagged [pdfnet]

Use this tag for questions regarding PDFNet SDK on mobile, desktop/server or PDFNetJS. Unless a tag for a language, or platform, is also included, a general PDFNet answer is expected.

PDFNet SDK is a cross-platform PDF toolkit.

81 questions
7
votes
3 answers

How to use Existing .so file in android application

I was searching for library which should convert .doc/.docx to .pdf in android platform. I got PdFTron android sdk,in that they have given libPDFNetC.so file. For Conversion, there is class called Convert, inside that there is a method toPDF(), in…
AndroUser
  • 572
  • 1
  • 5
  • 10
3
votes
0 answers

How to highlight and make text selection in PDF using PDFTron Library in Xamarin IOS

I had done code for Text Search. Then I had make highlight and Text Selection. But It wont' Worked. I am using PDF Net Library. I am using PDFDOC to open online pdf url. I had used TextSearch Method Search the document and returns upon the…
SR AspNet
  • 122
  • 2
  • 9
3
votes
1 answer

Azure Functions, nuget package installation failed

I tried to install NuGet package for Azure Function in project.json as follow: { "frameworks": { "net46":{ "dependencies": { "PDFNet": "6.7.1", "PDFNetNoLoader": "6.5.4" } } } } However, I get this error…
msrc
  • 663
  • 1
  • 9
  • 19
2
votes
1 answer

How to configure PDFNet for .NET application to publish to Citrix server? (AnyCPU)

So I have been trying to config the project to make it work on our server via Citrix. I used this line of code to set the path: private static pdftron.PDFNetLoader loader = pdftron.PDFNetLoader.Instance().Path(String.Format(@"{0}\{1}", …
Tylor
  • 33
  • 6
2
votes
1 answer

Pdfnet xamarin.ios doesn't print

I'm working with Pdftron PdfNet libraries for Xamarin.iOS and introducing the print function: if (UIPrintInteractionController.PrintingAvailable) { var printerController = UIPrintInteractionController.SharedPrintController; …
Valerio C
  • 37
  • 7
2
votes
1 answer

Excel to Pdf in C# using Pdftron

I am trying to convert an Excel document into PDF in a ASP.Net Web application using Pdftron (Pdfnet) library. Following is my code for the above purpose. pdf.PDF.PDFDoc newSalaryFitmentPdf = new pdf.PDF.PDFDoc(); …
Amit Anand
  • 957
  • 1
  • 16
  • 25
2
votes
1 answer

Underlining with pdfnet results in different line thickness

The code that i use for underlining a selection of text. I begin calling the addUnderline() method, the other methods are helper methods. private pdftron.SDF.Obj CreateUnderlineAppearance(pdftron.PDF.Rect bbox) { ElementBuilder…
DennisVA
  • 2,068
  • 1
  • 25
  • 35
2
votes
1 answer

Add annotations to PDF with PDFTron's PDFNet SDK that chrome pdf viewer can view

When I FDFMerge() annotations into a PDF and save it the annotations are not visible when opening the PDF in google chrome's pdf viewer. The annotations are visible when opening the same file directly from acrobat, or when opening in PDFTron's…
2
votes
1 answer

Pdftron - creating new element with same styles as existing element

I am trying to create PDF editing prototype using PdfTron software. I have successfully created interface where user can click on image, created from PDF, select region and will be presented a text input where he/she can then enter text, that will…
Odif Yltsaeb
  • 5,575
  • 12
  • 49
  • 80
1
vote
1 answer

PDFNet: Words order of output text from PDF is different on Ubuntu 16.04 and Ubuntu 20.04

I use PDFNet (version 9.308007) to convert pdf files into text format. Recently needed to upgrade from Ubuntu 16.04 to Ubuntu 20.04. The problem is that words changed order in output files when convert with PDFNet on Ubuntu 20.04. For ex.: Ubuntu…
dayz1
  • 13
  • 3
1
vote
1 answer

how to generate PDF XFDF (or FDF) files to add annotations from custom annotation data model

I am developing an Android PDF reader (That is Read Only). I have external annotations that are defined using a proprietary format as the pdf files they are associated with are consumed both in a web and desktop application. these web and desktop…
Hector
  • 4,016
  • 21
  • 112
  • 211
1
vote
1 answer

PDFNet Resize annot Swift

Have anyone worked using PDFNet where the annot needs to be resized? For simplicity, currently i set the text of the annot using annot.setContents(text) annot.refreshAppearance() pdfView.update() However, if the text is too long where it exceeds…
William Loke
  • 377
  • 1
  • 4
  • 25
1
vote
1 answer

CustomRelativeLayout Layout_with and layout_height in PDFTron not working

Hi I have this CustomRelativeLayout in a PDFViewerCtrl in an Android Xamarin project:
Fritjof Berggren
  • 3,178
  • 5
  • 35
  • 57
1
vote
1 answer

PDFTron : How to add an input field

I try to add an input field using PDFTron and nothing appear in the PDF, I followed this doc : https://www.pdftron.com/documentation/samples/js/InteractiveFormsTest Here is what I tried : (() => { window.addEventListener('documentLoaded', async…
Julien
  • 3,743
  • 9
  • 38
  • 67
1
vote
1 answer

Update PDF image in-place

I am trying to replace an image stream within an SDF document, using PDFNet 7.0.4 and netcoreapp3.1. As much as possible, I want to maintain the original object and its metadata; same dimensions, color system, compression, etc. Ideally object number…
superstator
  • 3,005
  • 1
  • 33
  • 43
1
2 3 4 5 6