Questions tagged [pdfium]

PDFium is an open-source PDF rendering engine used in Chrome web browser.

PDFium is an open-source PDF rendering engine used in Chrome web browser.

PDFium is available under BSD license.

Source code available at pdfium.googlesource.com/pdfium.

123 questions
0
votes
0 answers

How to add a custom rectangle drawing toolbox item in pdfium using c#?

I want to add a custom toolbox item in my windows form which will allow me to draw rectangular zones in the pdf(in the pdf viewer) and also get the co-ordinates of the zoned area automatically so that I can read the text from it and save it to a…
Bumba
  • 321
  • 3
  • 13
0
votes
0 answers

App crash happening in Aquos phone with API 19 (4.4.2 Android) using PDFium library

Before creating the document my app is crashing on this Aquos Phone. PdfDocument pdfDocument = pdfiumCore.newDocument(fileDescriptor) Log messages as follow: 03-26 10:49:17.281 7289-7289/? D/jniPdfium: Init FPDF library 03-26 10:49:17.301…
OSHAREME2
  • 1
  • 2
0
votes
2 answers

There is no pdfium.dll after building with "gn gen"

I'm learning to build pdfium project. Following the instructions I get 57 dlls in my out\ directory. However I cannot find the pdfium.dll which is supposed to contain functions like FPDFAvail_GetDocument(), FPDFBitmap_GetBuffer() etc. Could anyone…
J. Nee
  • 1
  • 2
0
votes
2 answers

How to render the PDF page as EMF or meta file in PDFium

Currently I have generated the PDF page as bitmap by using FPDF_RenderPageBitmap method. is there any method for rendering the PDF page as EMF or as metafile in PDFium?
Mohan Selvaraj
  • 236
  • 2
  • 15
0
votes
1 answer

How to call v8 functions directly from pdfium.dll

I'm trying to include pdfium in my development as dll. Most of FPDF_* functions are directly accessible, however I cannot reference v8 related functions, e.g. v8::initializeICU(), v8::InitializePlatform(). Since I'm totally new to this project, and…
J. Nee
  • 1
  • 2
0
votes
1 answer

Trying to embed extra dll in program

I have a program using Pdfium and PdfiumViewer. Everything works, but I have to have the pdfium.dll and PdfiumViewer.dll in the same directory as my .exe in order for it to work. If the pdfium.dll is missing, I get "Unable to load DLL 'pdfium.dll'".…
derekantrican
  • 1,891
  • 3
  • 27
  • 57
0
votes
1 answer

How to enable textselection in pdfrenderer c#

I am not able to select text in the pdfviewer which uses pdfRenderer(pdfiumViewer). Is there anyway to enable textSelection. this.Invoke((MethodInvoker)(() => this.Controls.Clear())); pdfViewer = new PdfRenderer(); …
0
votes
1 answer

Does pdfium library code CPDF_Annot can implement remove specific annotation in pdf file?

I an researching the way to remove or modify a specfic annotation in pdf file, our project use the pdfium library, I wonder is anyone familiar with this? I just want to find whether I can remove or modify specfic annotation in pdf file? YES or NO is…
newszer
  • 440
  • 1
  • 4
  • 23
0
votes
2 answers

How to print to network printer through application hosted in IIS

I have scenario of printing pdf (generated from stream) to network printer through application hosted in IIS. I tried with PrintDocument.Print() and problem I'm facing is: 1. Document is getting queued to the print job queue with size 0 bytes. 2.…
Binod Mahto
  • 340
  • 2
  • 13
0
votes
1 answer

Can PDFium read & render PostScript files?

I am using Google's PDFium library and would like to know if it is able to read and render PostScript files? Any direction is appreciated. Thank you.
iSofia
  • 1,412
  • 2
  • 19
  • 36
0
votes
1 answer

Get CharIndex in Pdfium in WPF

I would like to implement annotations using the PDFium PDF library for .NET. The first thing that I would like to be able to get is the charIndex (position/coordinate) of the selected text. I have went through the documentation and FAQs. I would…
0
votes
1 answer

how to create a pdf document with bitmap use pdfium?

I have tried pdfium to produce pdf in android4.3. But i have not any idea about how to add bitmap to FPDF_PAGE. This is my test source code: int main(){ FPDF_InitLibrary(); FPDF_DOCUMENT pPDFDoc = FPDF_CreateNewDocument(); //insert …
0
votes
1 answer

fail to retain pointer to memory

This is how i load pdf using Google's PDFIUM library. I receive void*: doc = FPDF_LoadDocument("media1.pdf", NULL); Now i want to save this document in vector of FPDF_DOCUMENT which is basically void* that i receive back from above code. This is…
asad
  • 281
  • 4
  • 11
0
votes
1 answer

PDFium - Only one page shown, but I want to scroll through them all

Once again, I am having trouble with the PDFium control for .NET. // From the Load of the Win-Form PdfCommon.Initialize(); pdfView1 = new Controls.PdfView(); pdfView1.LoadDocument(Environment.GetFolderPath(Environment.SpecialFolder.Desktop) +…
user3033043
0
votes
1 answer

PDFium - Reading Values of PDF Text Form Fields?

I am using PDFium to load a PDF on my Windows-Form via Visual Basic .NET. The PDF contains form fields. There is a Windows-Forms-Button that allows me to save the PDF on hard disk. Is it possible to read the entered values ON the PDF with PDFium…
user3033043
1 2 3
8
9