|
-
December 4th, 2009, 12:30 AM
#1
Text Alignment
Hi,
How to align string to Left, Right, Center and Middle? I have done other alignment like middle center,middle left,middle right, top left etc using StringAligment.
Help me to alignment string in Left, Right, Center and Middle.
Code:
StringFormat objStringFormat = new StringFormat();
objStringFormat.Alignment = StringAlignment.Center;
objStringFormat.LineAlignment = StringAlignment.Center;
Thank you
Saravana
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|