TitleAutofit

This property enables or disables automatic fitting of the title string that is defined by the TitleString property and enabled for display by the TitleDisplay property.

Syntax:

setTitleAutofit(boolean);
boolean = getTitleAutofit();

where:

boolean

Can be one of the following:

true automatically sizes to fit title string inside the bounding box set by setRect(getTitle(),...);. This value is the default.

false allows title string to be any size.

Example:

setTitleAutofit(true);
setFontSizeVC(getTitle(),3710);

3D bar graph

setTitleAutofit(false);

3D bar graph

See TitleDisplay, TitleString, setFontSizeVC().


WebFOCUS