Difference: CDTextSetFontSize (1 vs. 2)

Revision 22012-02-22 - JeanNeron

Line: 1 to 1
Changed:
<
<
META TOPICPARENT name="CDChartDirectorDesignerAPI"
>
>
META TOPICPARENT name="CDChartDirectorTextRoutines"
 

.TEXT SET FONT SZ

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

Revision 12011-11-17 - JeanNeron

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="CDChartDirectorDesignerAPI"

.TEXT SET FONT SZ

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


Usage:

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

Description:

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

<font_height> and <font_width> are the desired point size, in the range 1-999. If only one value is passed, then it is used for both height & width. If neither value is passed, then the font will be rendered in a default size.

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.


<--/commentPlugin-->

-- JeanNeron - 2011-11-17

 
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