Previous - pptInsertTxt Section Home - Microsoft PowerPoint Next - pptSetFontSize


pptSetFont ( )

Sets the font used in the active text box

Usage:

pptSetFont (object me, string fontName )

Parameters:

fontName (string) - the font name 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.pptSetFont( "Times New Roman" )

Notes:


Previous - pptInsertTxt Section Home - Microsoft PowerPoint Next - pptSetFontSize