Previous - pptSetFont Section Home - Microsoft PowerPoint Next - pptSetFontColor


pptSetFontSize ( )

Sets the font size used in the active text box

Usage:

pptSetFontSize (object me, integer size )

Parameters:

size (integer) - the font size to use for the active text box

Returns:

(integer) - The success code

Example:

xtRose = xtra("Rosetta").new( )
xtRose.pptLaunch( )
xtRose.pptSetVisible( 1 )
xtRose.pptNewBlank( )
xtRose.pptAddSlide( 1 )
xtRose.pptInsertTxt( 100, 50, 620, 150, "Hello World" )
xtRose.pptSetFontSize( 18 )

Notes:


Previous - pptSetFont Section Home - Microsoft PowerPoint Next - pptSetFontColor