[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??