Attachment:
File comment: Blocksatzfehler
pdfsharp_justify.png [ 76.72 KiB | Viewed 8235 times ]
------------------------------- translate with google
-------------------------------
The graph shows the initial situation and the PDF results.
I started as a source text, text, the br tag can contain. I parse this out. If I now
the text in the PDF would like to take over, I do this with a Paragraph object. At this
Paragraph object do I use the format (here Justify / justification). With AddPageLine () I
the br tags in the PDF to. Only the result is the same template. What am I doing wrong?
Thank you
Rene
----------------------------------------------------------------------------------------------
Die Grafik zeigt die Ausgangssituation und das PDF-Ergebnis.
Ich habe als Ausgangstext, Text, der br-Tags enthalten kann. Diese parse ich heraus. Wenn ich nun den Text im PDF übernehmen möchte, mache ich das mit einem Paragraph-Objekt. Auf dieses Paragraph-Objekt wende ich das Format an (hier Justify/Blocksatz). Mit AddPageLine() setze ich die br-Tags im PDF um. Nur das Ergebnis entspricht dem der Vorlage. Was mache ich falsch?
Danke
Rene