SubtitleAutofit

This property enables or disables automatic fitting of the subtitle string that is defined by the SubtitleString property and enabled for display by the SubtitleDisplay property.

Syntax:

setSubtitleAutofit(boolean);
boolean = setSubtitleAutofit();

where:

boolean

Can be one of the following:

true automatically fits or sizes subtitle string within the bounds set by setRect(getSubtitle();). This value is the default.

false allows subtitle string to be any size.

Example:

setSubtitleAutofit(true);
setFontSizeVC(getSubtitle(),2782);
setSubtitleString("THIS IS THE CHART'S SUBTITLE");

3D bar graph

setSubtitleAutofit(false);

3D bar graph

See SubtitleDisplay, SubtitleString, setFontSizeVC().


WebFOCUS