Click or drag to resize

Font Class

Defines a format for text.
Inheritance Hierarchy
SystemObject
  Rhino.DocObjectsFont

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public class Font

The Font type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyBold
Public propertyDescription
Returns a long description that includes family, face, weight, stretch and style information. Generally not useful for finding matching fonts.
Public propertyEnglishFaceName
Returns English Facename
Public propertyEnglishFamilyName
Public propertyFaceName
Returns Facename
Public propertyFamilyName
Public propertyFamilyPlusFaceName
Returns concatinated Family and Face names
Public propertyIsEngravingFont
Public propertyIsSimulated
Public propertyIsSingleStrokeFont
Public propertyIsSymbolFont
Public propertyItalic
Public propertyLogfontName
Returns Windows Logfont Facename
Public propertyPointSize
Public propertyPostScriptName
Returns the Font PostScriptName - "Apple font name"
Public propertyQuartetName
Public propertyRichTextFontName
Returns the Font RichTextFontName used in RTF strings: {\\fonttbl...{\\fN RichTextFontName;}...}
Public propertyStrikeout
Public propertyStyle
Public propertyUnderlined
Public propertyWeight
Top
Methods
  NameDescription
Public methodStatic memberAvailableFontFaceNames
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberFromQuartetProperties
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberInstalledFonts
Public methodStatic memberInstalledFonts(String)
Public methodStatic memberInstalledFontsAsQuartets
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(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.11
See Also