PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sat Jul 13, 2024 3:41 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Mon Nov 29, 2010 8:45 am 
Offline

Joined: Mon Nov 29, 2010 8:34 am
Posts: 4
Hallo,

ich hoffe ich kann hier auch in deutsch eine Frage loswerden. :oops: Ich programmiere seit einiger Zeit eine Anwendung in VB 2010 und habe nach einer Lösung gesucht einen Brief als pdf zu erstellen.

Ich habe die pdfsharp.dll eingebunden und auch bereits einen Brief als pdf erstellen können. Nun zu meinem Problem:

Da ich voher nicht weiß wie lang der Text in dem Brief wird (viele Variablen) benötige ich einen Tipp, wie ich bei einem Textblock, der nicht mehr auf die Seite passt einen Seitenwechsel generieren kann.

Oder kann ich den erstellten Textblock irgendwie simulieren und messen??

Vielen Dank für die Hilfe ich habe bereits auf diversen Suchmaschinen nach einer Lösung gesucht.

TZollo


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 29, 2010 12:23 pm 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3101
Location: Cologne, Germany
Use MigraDoc!

MigraDoc wurde erstellt, um Dokumente zu erstellen - so ähnlich, wie mit Word. MigraDoc macht die Seitenumbrüche automatisch.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 29, 2010 12:39 pm 
Offline

Joined: Mon Nov 29, 2010 8:34 am
Posts: 4
Vielen Dank für die schnelle Antwort, ich werde es mal testen.

TZollo


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 29, 2010 1:30 pm 
Offline

Joined: Mon Nov 29, 2010 8:34 am
Posts: 4
Hallo zusammen,

jetzt muß ich doch noch eine (hoffentlich nicht allzu dumme) Frage stellen. Gibt es irgendwo ein Beispiel zu MigraDoc in VB???

Ich habe bereits überall gesucht und meine Kenntnis in C # sind ehrlich gesagt "nicht existent" :roll: .

Vielen Dank für die Unterstützung

TZollo


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 29, 2010 5:00 pm 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3101
Location: Cologne, Germany
Sorry, we don't have a MigraDoc sample in VB yet (that's on the wishlist for the next release).

Derzeit gibt es kein MigraDoc-Beispiel in VB. Ich habe vorgeschlagen, dies in der nächsten Version nachzuholen.
MigraDoc und PDFsharp sind ähnlich aufgebaut - und für PDFsharp gibt es ein VB-Beispiel.

_________________
Regards
Thomas Hoevel
PDFsharp Team


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 55 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:  
cron
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group