FontFormat
The font format property.
Example
app = pf.GetApplication() app:NewProject() app:OpenFile(FEKO_HOME..[[/shared/Resources/Automation/startup.fek]]) graph = app.CartesianGraphs:Add() graph.Traces:Add(app.Models[1].Configurations[1].FarFields[1]) -- Edit title 'FontFormat' 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 FontFormat object can be accessed from the following locations:
- Properties
- SmithChart object has property ReactanceAxisFont.
- SmithChart object has property ResistanceAxisFont.
- TextBox object has property Font.
- GraphLegend object has property Font.
- GraphAxisLabels object has property Font.
- GraphAxisTitle 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