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:
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");
setSubtitleAutofit(false);
See SubtitleDisplay, SubtitleString, setFontSizeVC().
WebFOCUS |