Creates a new FontMetadata instance with a different size.
Namespace: Spotfire.Dxp.Framework.Styles
Assembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 66.0.19621.1485 (66.0.19621.1485)
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: FontMetadataA new instance with a different size.
Version Information
Supported in: 14.4, 14.3, 14.2, 14.1, 14.0, 12.5
See Also