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:
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);
setTitleAutofit(false);
See TitleDisplay, TitleString, setFontSizeVC().
WebFOCUS |