text to pdf

Example requests & Code samples for GdPicture Toolkits.
Post Reply
Thorsten
Posts: 2
Joined: Tue Sep 11, 2012 12:44 pm

text to pdf

Post by Thorsten » Tue Jul 16, 2013 10:41 am

Hello,

we try to create a pdf from an existing textfile. But we loose the some format of the text. Some rows in the textfile includes tabs. In the pdf all tabs are gone.

Example from the Textfile:
This is an example row without tabs
--------------------------------------------------------------------------------
Ort automatisch 123
PLZ automatisch 456

Result in the pdf:
This is an example row without tabs
--------------------------------------------------------------------------------
Ort automatisch 123
PLZ automatisch 456

(The Tabs are gone and there is only one space instead of the tab)

We use the DrawTextBox Function of the latest V9 Version.
Have you an idea how we can do it?

regards
Thorsten

Gabriela
Posts: 436
Joined: Wed Nov 22, 2017 9:52 am

Re: text to pdf

Post by Gabriela » Wed Jan 30, 2019 6:42 pm

Hello,

You can try to use the GdPictureDocumentConverter class:
https://www.gdpicture.com/guides/gdpicture/web ... erter.html

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests