PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Wed May 15, 2024 5:40 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: web Table in pdfSharp
PostPosted: Thu Sep 17, 2009 9:45 am 
Offline

Joined: Thu Sep 17, 2009 9:41 am
Posts: 3
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


Top
 Profile  
Reply with quote  
PostPosted: Thu Sep 17, 2009 11:11 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3097
Location: Cologne, Germany
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.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Thu Sep 17, 2009 12:49 pm 
Offline

Joined: Thu Sep 17, 2009 9:41 am
Posts: 3
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


Top
 Profile  
Reply with quote  
PostPosted: Thu Sep 17, 2009 1:16 pm 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3097
Location: Cologne, Germany
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.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Thu Sep 17, 2009 1:59 pm 
Offline

Joined: Thu Sep 17, 2009 9:41 am
Posts: 3
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


Top
 Profile  
Reply with quote  
PostPosted: Thu Sep 17, 2009 2:19 pm 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3097
Location: Cologne, Germany
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.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 48 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group