PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

Contribute to this project
https://forum.pdfsharp.net/viewtopic.php?f=2&t=3394
Page 1 of 1

Author:  tomerdr [ Tue Jul 19, 2016 12:08 pm ]
Post subject:  Contribute to this project

Hi,

I am new to PDFSharp

Reading the FAQ I understand that there is no PDFSharp viewer,and I wonder how hard is to implement such viewer? maybe it is something that I can contribute to?.

I am a season .NET \WPF developer currently working on an application which need to display PDF including interactive forms

I plan to use PDFSharp for extracting some information about the pdf document

Thanks in advance

Tomer

Author:  TH-Soft [ Tue Jul 19, 2016 10:20 pm ]
Post subject:  Re: Contribute to this project

Hi!
tomerdr wrote:
Reading the FAQ I understand that there is no PDFSharp viewer,and I wonder how hard is to implement such viewer? maybe it is something that I can contribute to?
As far as I understand it, a PDF page for PDFsharp is just a large string with post-script instructions.
For a PDF viewer, you have to parse this string and execute the post-script instructions (i.e. draw things).

The first step would be parsing the post-script instructions. Useful for extracting text, too.
And then draw things.

I think it's pretty hard to write a useful viewer.

Author:  tomerdr [ Thu Jul 21, 2016 6:03 pm ]
Post subject:  Re: Contribute to this project

Thanks...but I thought that PDFSharp take care of this...I mean turn the pdf document into a collection of objects

My assumption was that I "just" need to go over the collection of object(annotation,text,table) etc...

And draw them...what am I missing?

Thanks in advance

Tomer

Author:  TH-Soft [ Fri Jul 22, 2016 6:57 am ]
Post subject:  Re: Contribute to this project

tomerdr wrote:
My assumption was that I "just" need to go over the collection of object(annotation,text,table) etc...

And draw them...what am I missing?
As I wrote: a page is a big string and you have to parse it.

Search for "Extracting text" or look at this "sample":
http://stackoverflow.com/q/38408763/1015447

When you draw it, you have to take the transformations into account.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/