Previous - xlsSetFont Section Home - Microsoft Excel Next - xlsSetFontColor


xlsSetFontSize ( )

Sets the font size used for the range of selected cells

Usage:

xlsSetFontSize (object me, integer size )

Parameters:

size (integer) - the font size to use for the range of selected cells

Returns:

(integer) - The success code

Example:

xtRose = xtra("Rosetta").new( )
xtRose.xlsLaunch( )
xtRose.xlsNewBlank( )
xtRose.xlsSetRange( 1, 1, 5, 3 )
xtRose.xlsInsertTxt( [ ["a","b","c","d","e"], [1,2,3,4,5], [1.1, 2.2, 3.3, 4.4, 5.5] ] )
xtRose.xlsSetFontSize( 24 )

Notes:


Previous - xlsSetFont Section Home - Microsoft Excel Next - xlsSetFontColor