.TEXT SET FONT INDEX

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


Usage:

      PASS         <font_index>               FIELD            SHARE? N
      PASS         <font_no>                  FIELD            SHARE? N
      GOSUB    0CD .TEXT SET FONT INDEX
      *        Check for error
      IF       0CD .TEXT SET FONT INDEX       NE

Description:

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

This is only required if the font you have chosen for the title is a font family that contains multiple fonts. The font index you pass here tells Chart Director which font within the family it should use.

<font_index> refers to the index of a font within the font family. If blank or not passed, index 0 will be used. Must be in the range 1 to 9.

<font_no> refers to the which of the three possible fonts the index applies to. If blank or not passed, font number 1 will be used. Must be in the range 1 to 3.

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

This topic: APPX > WebHome > APPX510Features > CDChartDirectorDesignerAPI > CDChartDirectorTextRoutines > CDTextSetFontIndex
Topic revision: 22 Feb 2012, JeanNeron
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback