At 11:43 PM -0700 4/14/2002, yves COPPE wrote:
>Is it possible, when using revprinttext to choose the font in which
>the text will be printed ?

Yes. There is an undocumented fourth parameter to revPrintText, which is a
field reference. The font, size, and style are taken from this field. For
example, suppose you have a field named "Big Font" that's 24-point Geneva
bold, and you want to print text in 24-point Geneva bold. The following
command will do this:

  revPrintText "Some Text","Header Text","Footer Text", \
     the long name of field "Big Font"

As with revPrintField, you must use an expression that evaluates to a field
reference, not a field reference itself. For example, this will not work:
  revPrintText "Some Text","header","footer",field "Big Font"

--
Jeanne A. E. DeVoto ~ [EMAIL PROTECTED]
Runtime Revolution Limited - The Solution for Software Development
http://www.runrev.com/


_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to