|
-
Oct 1st, 2004, 03:50 AM
#1
Thread Starter
Hyperactive Member
[Resolved] Need Help centering Watermark!!!! (Still!)
I've created some basic code that creates information along the edges of a page.
It also creates a diagonal 'watermark' across the face of the page.
I'm having trouble keeping the watermark centered when I change the watermark text.
For example, if I use "watermark", the text is positioned differently than if I use "NOT FOR DISTRIBUTION" - and neither are centered as they should be.
My code calculates the font size based on the text length.
Can someone help me figure out why my centering code does not work properly???
I think that the Printer.TextHeight and Printer.TextWidth methods return inaccurate info...
I've also tried GetTextExtentPoint32 with the same results.
See the attached code.
Anyone trying this??
Last edited by wayneh; Oct 20th, 2004 at 06:33 PM.
-
Oct 4th, 2004, 08:35 AM
#2
Thread Starter
Hyperactive Member
Still need help on this - Anyone???
-
Oct 5th, 2004, 12:49 PM
#3
Thread Starter
Hyperactive Member
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
|