I have tried this but with no success, the font I am using is embeded into
an external cast sould that have something to do with it?

Thanks
John

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Robert Wingate
Sent: Friday, September 01, 2000 3:58 PM
To: '[EMAIL PROTECTED]'
Subject: RE: <lingo-l> Print O Matic and text fields


> Is there a way to print one text field in one font and
> another text field in a different font using print o matic?

Yep. Use the setTextFont() function:


[assuming a POM instance called docPage]

docPage.setTextFont( "SerpentineDBol *" )
docPage.drawText( "text one", point( 100,100 ))
docPage.setTextFont( "HardSoft Code39 Short OCR *" )
docPage.drawText( "text two", point( 100,200 ))


HTH,
Rob

/*********************************
* Rob Wingate, Software Human    *
* http://www.vingage.com         *
* mailto:[EMAIL PROTECTED] *
*********************************/

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]



[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to