Click or drag to resize

FontTable Class

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
SystemObject
  Rhino.DocObjects.TablesFontTable

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
  NameDescription
Public propertyCount
Number of fonts in the table.
Public propertyCurrentIndex
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 propertyDocument
Document that owns this table.
Public propertyItem
Gets the font at a position.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodCode exampleFindOrCreate(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 methodFindOrCreate(String, Boolean, Boolean, DimensionStyle)
Get a DimensionStyle with the specified characteristics
Public methodGetEnumerator
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.15
See Also