PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

Text Alignment
https://forum.pdfsharp.net/viewtopic.php?f=2&t=1748
Page 1 of 1

Author:  joostehost [ Mon Aug 22, 2011 3:13 pm ]
Post subject:  Text Alignment

Hi,

I want to create an invoice program with the PDF Sharp.

I already have everything as it should be, just one problem.

I have a place where the Description of the work that I have done goes. It says like "Website Creation for Someone" now when I change the Description to something shorter like "Newsletter Design" then the text moves to the middle. I want the text to be Left Aligned on my page so it must be on the Left of a rectangle that I draw the whole time, whether it is 1 character or 200 characters.

How can I do this?

If you need more info please let me know.

I need this asap.

Thanks

Waiting for your promt reply.

Author:  Thomas Hoevel [ Tue Aug 23, 2011 8:35 am ]
Post subject:  Re: Text Alignment

joostehost wrote:
How can I do this?

Draw the text as left-aligned.

See this sample:
http://www.pdfsharp.net/wiki/Graphics-sample.ashx

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