Class FontSizeInfo
Defines font size in pixels for different font families and sized used when determining auto widths for columns. This is used as .NET and Excel does not measure font widths in pixels in a similar way.
Inheritance
System.Object
FontSizeInfo
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OfficeOpenXml
Assembly: EPPlus.dll
Syntax
public class FontSizeInfo
Constructors
FontSizeInfo(Single, Single)
Construtor
Declaration
public FontSizeInfo(float height, float width)
Parameters
Type | Name | Description |
---|---|---|
System.Single | height | Height in pixels |
System.Single | width | Width in pixels |
Properties
Height
Height in pixels
Declaration
public float Height { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Width
Width in pixels
Declaration
public float Width { get; set; }
Property Value
Type | Description |
---|---|
System.Single |