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
The SurfaceGraphFontFormat object can be accessed from the following locations:
- Properties
- SurfaceGraphTextBox object has property Font.
- SurfaceGraphLegend object has property Font.
- SurfaceGraphAxisLabels object has property Font.
- SurfaceGraphAxisTitle object has property Font.
Property List
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