Difference: CDTextSetFontSizeW (1 vs. 4)

Revision 42012-02-22 - JeanNeron

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

.TEXT SET FONT SZ:W

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

Revision 32012-01-04 - JeanNeron

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

.TEXT SET FONT SZ:W

Changed:
<
<
This subroutine sets the font width for the "current" text object.
>
>
This subroutine sets the font width for the "current" text object.
 

Usage:

Revision 22012-01-04 - JeanNeron

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

.TEXT SET FONT SZ:W

Line: 19 to 19
  Also see .TEXT SET FONT SZ to set height and width at the same time, or .TEXT SET FONT SZ:H to set the height only.
Added:
>
>
Note: You cannot set the width unless you also set the height. If you only set the width without setting the height, it will be ignored.
 See FontSpecifications for more information on setting fonts and font numbers.

Comments:

Revision 12011-11-17 - JeanNeron

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

.TEXT SET FONT SZ:W

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


Usage:

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

Description:

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

<font_width> 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:H to set the height 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.


<--/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