Gets and sets the default font for the currently selected tool for new interactively created elements.
Read-write property
Visual Basic |
---|
Public Property Font As Font |
A font object appropriate within a programming environment:
- VB - StdFont
- Delphi - TFont
- VC++ - IFontDisp
If the specified font is not available on the system the application is running the operating system will provide a close-match replacement.
This only effects elements created with the toolbar.
Default Font (Visual Basic) | ![]() |
---|---|
DimToolFontAsNewStdFont ToolFont.Name="Arial" ToolFont.Size=24 ToolFont.Italic=True NotateXpress1.Font=ToolFont |
Default Font (Delphi) | ![]() |
---|---|
VarToolFont:TFont; begin ToolFont:=TFont.Create; ToolFont.Name:='TimesNewRoman'; ToolFont.Size:=16; ToolFont.Style:=[fsBold]; Notate1.Font:=ToolFont; end; |