|
-
Sep 21st, 2007, 02:25 AM
#3
Thread Starter
Member
Re: Printing in center of A4 document
Ok... I try to read some tutorial of this argument.
One question if you know "at fly"...
1) I set the GraphicsUnit of Font and PageUnit to "Document".
2) I create a title string and measure it with "MeasureString" method.
Now, if i do this operation the text will be in center, right?
Operation:
StartPosX = WidthSizeOfDocument - WidthOfString / 2
The question is (also releated with your answers), how can i get at run time the size od my Page?
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
|