PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sun Jun 16, 2024 7:20 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Text Alignment
PostPosted: Mon Aug 22, 2011 3:13 pm 
Offline

Joined: Mon Aug 22, 2011 2:52 pm
Posts: 6
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: Text Alignment
PostPosted: Tue Aug 23, 2011 8:35 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3100
Location: Cologne, Germany
joostehost wrote:
How can I do this?

Draw the text as left-aligned.

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

_________________
Regards
Thomas Hoevel
PDFsharp Team


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 169 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