PDFsharp & MigraDoc Foundation
http://forum.pdfsharp.de/

web Table in pdfSharp
http://forum.pdfsharp.de/viewtopic.php?f=2&t=876
Page 1 of 1

Author:  alfa [ Thu Sep 17, 2009 9:45 am ]
Post subject:  web Table in pdfSharp

Hi all,
i'm looking for a way to put a table (that is created dinamically in a web page) in a pdf file.

can somebody please explain it to me step-by-step ?

I've unzipped the PDFsharp-MigraDocFoundation-Assemblies-1_30.zip file and I've put the 3 dlls into my project's reference.
That's all I've done

the code behind is vb.net....

thank you very much.

regards

Author:  Thomas Hoevel [ Thu Sep 17, 2009 11:11 am ]
Post subject:  Re: web Table in pdfSharp

Hi!

The HelloMigraDoc sample (C#) shows how to create tables with MigraDoc.

You can either translate the C# code to VB to use it in the code-behind file or create the table in C# code you call from your VB code.

Author:  alfa [ Thu Sep 17, 2009 12:49 pm ]
Post subject:  Re: web Table in pdfSharp

uhmmmmmm

I don't need to create a table.

I have a table on the screen, and I only ant to put that table in a pdf file.

the table is dinamically created, but I already know how many columns and rows it has.

Do I need to create that table once again ?

thanks for you reply.

regards

Author:  Thomas Hoevel [ Thu Sep 17, 2009 1:16 pm ]
Post subject:  Re: web Table in pdfSharp

There are no tables in PDF - there is text with lines.

You can use PDFsharp to draw text and lines.

You can create a MigraDoc table - and have MigraDoc draw text and lines in a PDF file.

Neither PDFsharp nor MigraDoc can take HTML tables as input.

I think I'd use MigraDoc.

Author:  alfa [ Thu Sep 17, 2009 1:59 pm ]
Post subject:  Re: web Table in pdfSharp

It's quite though !

I mean, I've created a table, and now I should create it again !

and it's dinamic !
and it's a very big table !
btw, I appreciate your suggestion, I'll take a look at migradoc

any tutorial/guide ?

thanks

Author:  Thomas Hoevel [ Thu Sep 17, 2009 2:19 pm ]
Post subject:  Re: web Table in pdfSharp

alfa wrote:
any tutorial/guide ?

The HelloMigraDoc sample (C#) shows how to create tables with MigraDoc.
Install the help for Visual Studio or use the stand-alone help file.

We have one web sample that shows how to return PDF files from a web server.

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