FontMetadata.WithSize Method

Spotfire 14.5 API Reference
Creates a new FontMetadata instance with a different size.

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

C#
public FontMetadata WithSize(
	float size,
	FontUnit unit
)

Parameters

size
Type: System.Single
The size in units specified by unit.
unit
Type: Spotfire.Dxp.Framework.Styles.FontUnit
The unit of the font size.

Return Value

Type: FontMetadata
A new instance with a different size.
Version Information

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

Reference