Register forum user name Search FAQ

SetOutputFont

Script function

world.SetOutputFont

Read about scripting

Type

Method

Summary

Sets the font for the output window.

Prototype

void SetOutputFont(BSTR FontName, short PointSize);

View list of data type meanings

Description

Use this to change the output font. The *entire* window font changes, you cannot change individual lines or words.

Also see SetInputFont.


VBscript example

world.SetOutputFont "Lucida Console", 9


Jscript example

world.SetOutputFont("Lucida Console", 9);


PerlScript example

$world->SetOutputFont("Lucida Console", 9);


Python example

world.SetOutputFont("Lucida Console", 9)


Lua example

SetOutputFont ("Lucida Console", 9)


Return value

Nothing.


See Also ...

Topic

Option setting and retrieval

Functions

(GetAlphaOption) Gets the value of an alphanumeric configuration option
(GetAlphaOptionList) Gets the list of world alphanumeric options
(GetCurrentValue) Gets the current value of a named world option
(GetDefaultValue) Gets the default value of a named world option
(GetGlobalOption) Gets the value of a global configuration option
(GetGlobalOptionList) Gets the list of global options
(GetLoadedValue) Gets value of a named world option, as loaded from the world file
(GetOption) Gets value of a named world option
(GetOptionList) Gets the list of world options
(SetAlphaOption) Sets value of a named world alphanumeric option
(SetInputFont) Sets the font for the input window
(SetOption) Sets value of a named world option

(Help topic: function=SetOutputFont)

Documentation contents page


Search ...

Enter a search string to find matching documentation.

Search for:   

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.