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
0
votes
0 answers

Custom signature breaking read only lock on acroform fields on iPad only (PDFTron)

When adding a custom signature to a PDF document I set all form fields to read only. This works perfectly on iPhone but on iPad something strange happens. The form fields are not set to read only but instead the touch handler sees them as signature…
Nebula
  • 679
  • 2
  • 17
  • 37
0
votes
1 answer

PDFNet filling the signature fields

I try to use PDFNetAndroid to filling signature fields and i saw some examples that sign these fields by code(not by human). e.g http://www.pdftron.com/pdfnet/samplecode/DigitalSignaturesTest.java.html I want in the moment that the client touching…
tal
  • 295
  • 1
  • 4
  • 20
0
votes
2 answers

Pdf jumps to page 2 when opening

I used the C# sample of PDFViewSimpleTest When opening a pdf, it automatically jumps to the second page. Foxit does it too (so i guess they also use pdfTron), Adobe starts from page 1 I haven't got a clue why. The pdf can be found here:…
DennisVA
  • 2,068
  • 1
  • 25
  • 35
0
votes
1 answer

PDFViewCtrl.SetDoc() blocked

My application has freezed one time on the instruction: myReader.SetDoc(); With myReader instance of PDFViewCtrl. To avoid this situation I've tried to execute this code in a new Thread with a timeout. It works but setting the document of the…
Andrea
  • 41
  • 7
0
votes
1 answer

PDFTron: Powerpoint ConverToXod not working

In my ASP .Net application, I am using 'PDFTron 6.6.0.38591'. We are using following code to convert Office documents to XOD: string fileName = Path.GetFileName(pdfTronServiceRequest.FilePath); fileName =…
Shubham
  • 15
  • 5
0
votes
1 answer

Visual studio 2015 - referenced library 32/64 bit mismatch. (PDFNet)

I have a WPF application which uses an external library, PDFNet. The whole project uses Wix to create MSI for x86 or x64 builds (Not AnyCpu). These MSI's are later combined with some external resources to create a single exe installer by means of…
Pepsin
  • 23
  • 8
0
votes
0 answers

PDFTron - restoring state

It seems that Bug in PDFTrone - after adding text annotation for highlighted text - position, zoom and scale reset. It not critical for device with screen/resolution but it looks not good for devices with small screen. Because document zoom after…
MastAvalons
  • 1,150
  • 1
  • 14
  • 23
0
votes
1 answer

PdfNet readonly annotations are not readonly

I'm using PdfNet (C#) for Winforms. I want to be able to underline text, so i created an underline annotation like this: Annot underlineAnnot = Annot.Create(m_document, Annot.Type.e_Underline,…
DennisVA
  • 2,068
  • 1
  • 25
  • 35
0
votes
0 answers

Resizing a freetext annotation in pdfnet converts specials characters into unicode (PdfNet)

I'm using the toolmode e_annot_edit to resize my freetext annotations. But when i make the annotation smaller/bigger, some characters like 'é' convert into '\U00E9. Is there any way to fix this? I googled and looked in the forum but could not find…
DennisVA
  • 2,068
  • 1
  • 25
  • 35
0
votes
0 answers

Saving the color of an annotation in pdftron (pdfnet winforms)

I'm trying to reuse the color of a highlight annotation after a pdf document and it's highlights have been saved. I add an annotation and assign a color this way: if (isCustomColor) { ColorPt color =…
DennisVA
  • 2,068
  • 1
  • 25
  • 35
0
votes
1 answer

Getting a (text)selection on a specific page in PDFNet

In java, something like PDFView.getSelection(currPage) is possible, but in PDFNet it's not possible to call the GetSelection() method with a parameter, it returns the text on the first page only. How can i get a selection on a specific page in…
DennisVA
  • 2,068
  • 1
  • 25
  • 35
0
votes
1 answer

Drawing a rectangle annotation with PDFTron (PdfNet)

I'm trying to a the user create a rectangle in a pdf. The user can drag a rectangle on the screen. on the mouseup event, a Rect object is created and passed to the method AddRectAnnotationToPage(Rectangle rect) The problem is that the rectangle…
DennisVA
  • 2,068
  • 1
  • 25
  • 35
0
votes
1 answer

How to use PDFNet instance across the ruby app

I have to initialize the PDFNet library once in my app. I did it in my app.rb which is run first # app.rb require 'PDFNetC/Lib/PDFNetRuby' include PDFNetRuby PDFNet.Initialize(ENV['PDFTRON_LICENSE_KEY']) Later in my controller I need to convert pdf…
gmuraleekrishna
  • 3,375
  • 1
  • 27
  • 45
0
votes
1 answer

Open file URLs in PDFNet / PDFTron WebViewer

I'm trying to use PDFNet / PDFTron WebViewer within an Electron based application. The user should be able to select a file from the local filesystem to open. But when passing a file:// URL for initialDoc I always get the error Error retrieving…
Mato
  • 830
  • 2
  • 9
  • 21
0
votes
1 answer

Gradle fails after converting project into module

I'm trying to integrate the PDFNet library into my Android App, and if you download the SDK you can see that there is a project CompleteReader (PDFNetAndroid-6.7.0.42960\PDFNetAndroid\samples\PDFViewCtrlProjects\CompleteReader) I want to use this…
David
  • 3,971
  • 1
  • 26
  • 65