OutputDocument.SetTextDefaultFont

Prototypes

void SetTextDefaultFont()

Parameters

None

Remarks

This method sets the font of subsequent textual output to be the default font. A font specification consists of the following characteristics: typeface, style, size, and color. IML Studio selects a default font that is appropriate for the current locale.

Example
x = ranuni( 1:5 );
print x;

declare OutputDocument doc = OutputDocument.GetDefault();
doc.SetTextSize( 22 );
doc.SetTextColor( RED );
print "Some important message";
doc.SetTextDefaultFont();

x = ranuni( 1:5 );
print x;
See Also

OutputDocument.SetTextFont