Tags:
create new tag
view all tags

.TEXT SET FONT SZ:H

This subroutine sets the font height for the "current" text object.


Usage:

      PASS         <font_height>              FIELD            SHARE? N
      GOSUB    0CD .TEXT SET FONT SZ:H
      *        Check for error
      IF       0CD .TEXT SET FONT SZ:H        NE

Description:

This subroutine sets the font height for the "current" text object.

<font_height> is the desired point size, in the range 1-999. If no value is passed, then the font will be rendered in a default size.

Also see .TEXT SET FONT SZ to set height and width at the same time, or .TEXT SET FONT SZ:W to set the width only.

See FontSpecifications for more information on setting fonts and font numbers.

Comments:

Read what other users have said about this page or add your own comments.


-- JeanNeron - 2011-11-17

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2012-02-22 - JeanNeron
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback