void SetTextTypeface( String sTypeface )
String sTypeface
The desired typeface. If the requested typeface is not installed, the IMLPlus program will stop with an error.
This method sets the typeface of subsequent textual output.
declare OutputDocument doc = OutputDocument.GetDefault(); doc.SetTextTypeface( "Times New Roman" ); print "This is in Times New Roman."; doc.SetTextTypeface( "Arial" ); print "This is in Arial."; doc.SetTextTypeface( "Lucida Console" ); print "This is in Lucida Console."; doc.SetTextDefaultFont(); print "This is in the default font.";