FontMetadata Constructor

Spotfire 14.3 API Reference
Initializes a new instance of the FontMetadata class.

Namespace:  Spotfire.Dxp.Framework.Styles
Assembly:  Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax

C#
public FontMetadata(
	string familyName,
	float size,
	FontStyleFlags fontStyleFlags = FontStyleFlags.Regular,
	FontUnit unit = FontUnit.Point
)

Parameters

familyName
Type: SystemString
The font family name.
size
Type: SystemSingle
The rendering size in units specified by unit.
fontStyleFlags (Optional)
Type: Spotfire.Dxp.Framework.StylesFontStyleFlags
The font's styling.
unit (Optional)
Type: Spotfire.Dxp.Framework.StylesFontUnit
The unit to use when interpreting size.
Version Information

Supported in: 14.3, 14.2, 14.1, 14.0, 12.5
See Also

Reference