Setting text alignment

If you are a VB developer and have questions about using our products from VB, here is the place to post them.
Post Reply
Polly
Posts: 2
Joined: Mon Jan 24 2005

Setting text alignment

Post by Polly »

I use the following code to print out info contained in my string variable strText into a new pdf document

Printer.CurrentX = 200
Printer.CurrentY = 400
Printer.FontName = "Arial"
Printer.Fontsize = 14
Printer.FontBold = True
Printer.Print strText

I cannot see how I can align the text so that it is centrally aligned.

Many thanks for your help.

Polly
Post Reply