Click or drag to resize

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

Initializes a new instance of the Font class

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 8.0
Syntax
public Font(
	string familyName,
	FontFontWeight weight,
	FontFontStyle style,
	FontFontStretch stretch,
	bool underlined,
	bool strikethrough
)

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,Rhino.DocObjects.Font.FontStretch,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,Rhino.DocObjects.Font.FontStretch,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,Rhino.DocObjects.Font.FontStretch,System.Boolean,System.Boolean)"]

stretch
Type: Rhino.DocObjectsFontFontStretch

[Missing <param name="stretch"/> documentation for "M:Rhino.DocObjects.Font.#ctor(System.String,Rhino.DocObjects.Font.FontWeight,Rhino.DocObjects.Font.FontStyle,Rhino.DocObjects.Font.FontStretch,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,Rhino.DocObjects.Font.FontStretch,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,Rhino.DocObjects.Font.FontStretch,System.Boolean,System.Boolean)"]

See Also