Skip to content

FontTable

Public 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

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

Number of fonts in the table.


Public Property

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 that owns this table.


Public Property

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

Get a DimensionStyle with the specified characteristics the settings other than face, bold and italic are copied from the current style


Public Method

Get a DimensionStyle with the specified characteristics


Public Method

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.)