SurfaceGraphFontFormat

The font format property.

Example

app = pf.GetApplication()
app:NewProject()
app:OpenFile(FEKO_HOME..[[/shared/Resources/Automation/startup.fek]])
graph = app.CartesianSurfaceGraphs:Add()
graph.Plots:Add(app.Models[1].Configurations[1].FarFields[1])

    -- Edit title 'SurfaceGraphFontFormat' 

graph.Title.Font.Boldfaced = true
graph.Title.Font.Size = 20

    -- The font family can be set to any font available on the system. For example
    -- graph.Title.Font.Family = "Courier New"

Usage locations (object properties)

The following objects have properties using the SurfaceGraphFontFormat object:

Property List

Boldfaced
Enables font bold. (Read/Write boolean)
Colour
The font colour. (Read/Write Colour)
Family
The font family. (Read/Write string)
Italicised
Enables font italic. (Read/Write boolean)
Size
The font size. (Read/Write number)
Underlined
Enables font underline. (Read/Write boolean)

Property Details

Boldfaced
Enables font bold.
Type
boolean
Access
Read/Write
Colour
The font colour.
Type
Colour
Access
Read/Write
Family
The font family.
Type
string
Access
Read/Write
Italicised
Enables font italic.
Type
boolean
Access
Read/Write
Size
The font size.
Type
number
Access
Read/Write
Underlined
Enables font underline.
Type
boolean
Access
Read/Write