---+ .TEXT SET FONT SZ:W <em>This subroutine sets the font </em> _width_ <em> for the "current" text object.</em> <br />%TOC% ---++ Usage: <pre> PASS <font_width> FIELD SHARE? N GOSUB 0CD .TEXT SET FONT SZ:W * Check for error IF 0CD .TEXT SET FONT SZ:W NE </pre> ---++ 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 [[CDTextSetFontSize][.TEXT SET FONT SZ]] to set height and width at the same time, or [[CDTextSetFontSizeW][.TEXT SET FONT SZ:H]] to set the height only. *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: _Read what other users have said about this page or add your own comments._ <br />%COMMENT% -- Main.JeanNeron - 2011-11-17
This topic: Main
>
WebHome
>
APPX510Features
>
CDChartDirectorDesignerAPI
>
CDChartDirectorTextRoutines
>
CDTextSetFontSizeW
Topic revision: r4 - 2012-02-22 - JeanNeron
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback