FontMetadataWithSize Method

Spotfire 14.3 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: 65.0.19510.3242 (65.0.19510.3242)
Syntax

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

Parameters

size
Type: SystemSingle
The size in units specified by unit.
unit
Type: Spotfire.Dxp.Framework.StylesFontUnit
The unit of the font size.

Return Value

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

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

Reference