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

Extract notes from Microsoft office powerpoint files using PDFtron webviewer library in angular

We have an angular app where we want to render Microsoft Office PowerPoint(.pptx) slides by using PDFtron webviewer library. In our existing .pptx files some slides contain notes with them and we want to show those notes in PDFTron webviewer UI…
Shuvojit Saha
  • 382
  • 2
  • 11
1
vote
1 answer

How to access the Text-Layer over the canvas in Pdftron

I am working on an application where I am using a third-party PDF viewer PDFtron. I can select the text over the canvas, but once I inspect it, I can't see the text overlay. Only the annotations are there. You can check the demo here. If I can…
Nadeem Ahmad
  • 665
  • 3
  • 17
  • 40
1
vote
1 answer

PDFTron html2pdf 0KB file size

I have the @pdftron node module installed in a test Node (Hapi) application on my Mac. I'm trying to generate a PDF file from a HTML string but the saved file is 0 KB. I've tried this two ways: By implementing the example code in the GET handler…
Nick Roper
  • 127
  • 1
  • 3
  • 13
1
vote
1 answer

Zoom/Pan to annotation on document load - PDFTRON

I have a requirement, where user creates a point on drawing document(pdf) in pdftron viewer and link to an issue. Later when user clicks on issue i need to set my zoom to the marked location so that it will be helpful for the user to identify where…
1
vote
1 answer

Libraries not loading for PDFTron using Dotnet core and javascript, issue with library simpe_wasm

I am working with a requirement for one of the modules in the project(.Net Core) which comprises multiple PDF operations, like converting from PDF to HTML, then editing the HTML in a web view editor, finally converting it into a PDF. I used…
1
vote
1 answer

Import namespace with function from PDFTron in Angular

I'm trying to use use PDFTron library "@pdftron/webviewer": "^6.2.3" , starting with this sample - https://github.com/PDFTron/webviewer-angular-sample They have CoreControls namespace, described like this: export declare namespace CoreControls…
Levsha
  • 455
  • 3
  • 18
1
vote
1 answer

can we change android PDFTRON tools icons?

I am using PDFTRON SDK in my android application. is there any way to change tools icons? also can we replace our own tools with PDFTRON tools ( I'm not talking about all tools, I am talking about some tools) I have read official documentation of…
waseem
  • 116
  • 1
  • 13
1
vote
1 answer

How can I save the memory stream of a pdf annotation from PDFTron?

I have read some articles about the pdf format and I want to read annotations from a pdf document and save its appearance and data into a database. Therefore I found out, that a annotation is fully represented by its "stream", I would expect a…
penc
  • 35
  • 4
1
vote
2 answers

How do I properly close a file used by PDFTron?

The following code causes a System.InvalidOperationException because the file in question is still in use. There isn't clear guidance in the PDFTron documentation on how one should close a file, but the following yields the exception: // in my…
1
vote
1 answer

Can't load pdf file while using pdftron webviewer server in local

I'm trying to use the webviewer with the webviewer server. There is security information in the cookie thats needed to be passed on. In the docker-compose the property to forward is set. webviewer: container_name: webviewer-server image:…
Leon Csergity
  • 313
  • 3
  • 18
1
vote
0 answers

PDFtron webviewer window content disappears on browser window zoom in and zoom out and never appears again

I am using PDFTron WebViewer version 6.1.0 for a POC. I am facing issue with Webviewer content getting vanished when the browser zoom option is used (ctrl + and ctrl -) in firefox. Once the webviewer content disappears, it will not appear until the…
syed
  • 189
  • 3
  • 13
1
vote
1 answer

Verification error on adobe using pdftron sample

If you run the PDFTron Digital Signature Sample that is in the node-js library. You get a sample document that works on FoxIT Reader for validation, but will throw an error on Adobe. This is what Adobe gives me. It also doesn't allow for me to…
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