OutputDocument.SetTextSize

Prototypes

void SetTextSize( int nSize )

Parameters

int nSize
The desired point size (units of 1/72 inch).

Remarks

This method sets the size of subsequent textual output.

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