FontTable
Font tables store the list of fonts in a Rhino document.
Remarks
The FontTable is now just a wrapper around the DimStyles table.
Inheritance Hierarchy
System.Object
Rhino.DocObjects.Tables.FontTable
Namespace: Rhino.DocObjects.Tables
Assembly: RhinoCommon (in RhinoCommon.dll)
Syntax
public sealed class FontTable : IEnumerable<Font>, IEnumerable
The FontTable type exposes the following members.
Properties
Name
Description
Public Property
Count
Number of fonts in the table.
Public Property
CurrentIndex
At all times, there is a “current” font. Unless otherwise specified, new dimension objects are assigned to the current font. The current font is never deleted. Returns: Zero based font index of the current font.
Public Property
Document
Document that owns this table.
Public Property
Item
Gets the font at a position.
Methods
Name
Description
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public Method
Code Example
FindOrCreate(String, Boolean, Boolean)
Get a DimensionStyle with the specified characteristics the settings other than face, bold and italic are copied from the current style
Public Method
FindOrCreate(String, Boolean, Boolean, DimensionStyle)
Get a DimensionStyle with the specified characteristics
Public Method
GetEnumerator
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object.)