Questions tagged [pdftron]

Use this tag for questions regarding any PDFTron product that does not have its own tag.

PDFTron is a company that develops cross-platform PDF toolkits and libraries.

346 questions
2
votes
1 answer

customElement in PDFTron

I am trying to add checkbox which says: "Enable Snap: []". If user click on that checkbox i want to check that checkbox is checked or not. But i am getting error like: document.getElementById(...) is null. Below is the…
DS9
  • 2,995
  • 4
  • 52
  • 102
2
votes
1 answer

Want to capture the start and end time for loading a document with/without annotation in WebViewer

After reviewing the following link : 1 - https://www.pdftron.com/documentation/web/guides/wv-events/ -> A guide showing how to interact with WebViewer events in general 2 -…
Steve Kwok
  • 21
  • 2
2
votes
1 answer

Is there a way to create a Stamp annotation using a SVG as ImageData

I would like to create a custom stamp annotation using a SVG in PDFTron. I saw someone on some google forum having the same question, and a PDFTron developer actually responded, and this is what I have so far... const svgElement = 'my…
2
votes
1 answer

PDFTRON instance not opening pdf document second time on model

i am working in project where using model to show PDFTron webviewer. i am using model popup to load webviewer inside it when select pdf file from list. first time it loads pdf document but when "clr-modal" open second time webviewer not load…
hashgoal
  • 41
  • 1
  • 3
2
votes
1 answer

How to convert .xod file to .pdf/.xps PDFTron

I've use docpub to create a xod file with a pass to view in my PDFTron WebViewer application, but I ended up losing the original pdf file and now I would like to have it back. I have the xod encrypted file and the password. Can I convert it back to…
John Buckley
  • 23
  • 1
  • 3
2
votes
2 answers

Your server does not have a MIME type set for extension res. in Angular 7

I am loading PDFTron web viewer in my angular 7 application. I am able to load PDFTron web viewer template in UI but while loading sample PDF file I am getting the error below. enter image description here I am getting 404 file not found error …
madhu Goud
  • 127
  • 1
  • 3
  • 12
2
votes
1 answer

importAnnotCommand returning undefined

I am trying to import freehand annotations using the xfdf format with the importAnnotCommand() method but I get a return value of undefined sometimes, I am generating these strings using the getAnnotCommand() method. The xfdf string is generated by…
Steven
  • 25
  • 4
2
votes
1 answer

how to export the freetext annotations with contents-richtext

I've updated the WebViewer from a very old version to the latest version (v5.0). And I found that there is no "contents-richtext" data in the exported XMLdata, I've tried to set exportContentsRichText = true but It's not effective. Does anyone…
2
votes
1 answer

Convert HTML to PDF with Header and Footer

We have header and footer String as HTML content type but how to append both on every page. In below java method we are passing three parameter htmlcontent, HeaderContent, FooterContent and return number of pages created in html, But where do we…
Dipak Prajapati
  • 486
  • 5
  • 13
2
votes
1 answer

Angular: Pass method as argument in angular

I have create a method that that require a anonymous method as parameter. as follows getannotationContent(): any { var searchString = 'cash'; var strLength = searchString.length; var doc =…
Manoj Gupta
  • 456
  • 4
  • 9
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
2 answers

PDFNet Nuget Library is not compatible with UAP Version=v10.0

I am working with a windows desktop application , which is using PDFtron nuget library. I am using Visual Studio 2017 with .Net Core version as 2.0.5. To compile the project I need to add reference to the specified PDFTron Nuget library. But…
MrDj05
  • 65
  • 1
  • 7
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

PDFTron. FreeText annotation font

I need to get font information (font family, color e.t.c) from FreeText annotation using PDFTron in .Net. And I see only FreeText.GetFontSize method. How can I get font information of FreeText annotation?
Stalso
  • 1,468
  • 2
  • 12
  • 21
2
votes
1 answer

How to open image file using pdftron

I want to load an image file using the pdftron webviewer api. For pdf files it's working fine but I want to load image files and add annotations to them. In the user guide there is no information regarding working with images.
1
2
3
23 24