3.7.5.71 System.Font

LabTalk Object Type:

Utility

The font object is a sub-object of the system object. The font object properties allow you to read and alter font-related settings which are set in the OPTION.CNF file. These settings can also be accessed in the Options dialog box. It should be noted that setting these properties through script does not trigger the save as Origin's startup Options dialog, so the value in Options.CNF is not overwritten.


Properties:

Property Access Description
system.font.default$ Read/write,
string

Font to be used when Default is selected from the font drop down list in the Text Control dialog box.

system.font.greekName$ Read/write,
string

Name of font to use for Greek characters in text labels.

system.font.horzEdit Read/write,
numeric

Text orientation for in-place editing. 0 = edit using label orientation, 1 = enable horizontal editing.

system.font.labelColor Read/write,
numeric

Default text label color. Numbers from the color list or set with the color() function.

system.font.labelName$ Read/write,
string

Name of font to use for a text label's default font.

system.font.labelSize Read/write,
numeric

Text label default font size.

system.font.lineSpace Read/write,
numeric

The space between two lines of text in a text label, in percent of the currently selected font size.

system.font.noIpEdit Read/write,
numeric

In place editing behavior. 0=enable in place editing, 1=disable in-place editing.

system.font.pageViewAccurate Read/write,
numeric

Use the printer driver to display the text labels in the graph window when Page View is selected. 1 = enable, 0 = disable.

system.font.simpleSelect Read/write,
numeric

Simple selection mode for text. 0 = enable rotation and skewing (dragging handle to resize text), 1=disable rotation and skewing.

system.font.subOffset Read/write,
numeric

Position of subscript, in percent of the currently selected font size.

system.font.subSize Read/write,
numeric

Subscript and superscript font size, in percent of the currently selected font size.

system.font.supOffset Read/write,
numeric

Position of superscript, in percent of the currently selected font size.

system.font.tabSize --

Not currently implemented.