Font Constructor (String, Font.FontWeight, Font.FontStyle, Boolean, Boolean)

Font Constructor (String, FontFontWeight, FontFontStyle, Boolean, Boolean)

Initializes a new instance of the Font class

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public Font(
	string familyName,
	FontFontWeight weight,
	FontFontStyle style,
	bool underlined,
	bool strikethrough
)
Public Sub New ( 
	familyName As String,
	weight As FontFontWeight,
	style As FontFontStyle,
	underlined As Boolean,
	strikethrough As Boolean
)

Parameters

familyName
Type: SystemString

[Missing <param name="familyName"/> documentation for "M:Rhino.DocObjects.Font.#ctor(System.String,Rhino.DocObjects.Font.FontWeight,Rhino.DocObjects.Font.FontStyle,System.Boolean,System.Boolean)"]

weight
Type: Rhino.DocObjectsFontFontWeight

[Missing <param name="weight"/> documentation for "M:Rhino.DocObjects.Font.#ctor(System.String,Rhino.DocObjects.Font.FontWeight,Rhino.DocObjects.Font.FontStyle,System.Boolean,System.Boolean)"]

style
Type: Rhino.DocObjectsFontFontStyle

[Missing <param name="style"/> documentation for "M:Rhino.DocObjects.Font.#ctor(System.String,Rhino.DocObjects.Font.FontWeight,Rhino.DocObjects.Font.FontStyle,System.Boolean,System.Boolean)"]

underlined
Type: SystemBoolean

[Missing <param name="underlined"/> documentation for "M:Rhino.DocObjects.Font.#ctor(System.String,Rhino.DocObjects.Font.FontWeight,Rhino.DocObjects.Font.FontStyle,System.Boolean,System.Boolean)"]

strikethrough
Type: SystemBoolean

[Missing <param name="strikethrough"/> documentation for "M:Rhino.DocObjects.Font.#ctor(System.String,Rhino.DocObjects.Font.FontWeight,Rhino.DocObjects.Font.FontStyle,System.Boolean,System.Boolean)"]

Version Information

Rhino for Windows

Supported in: 6.8
See Also