Class FastFont
Namespace: FastReport.Olap
Assembly: FastCube.Core.dll
Font class for replace system drawing class for Core package
[TypeConverter(typeof(FastFontConverter))]
public class FastFont
Inheritance
Constructors
FastFont(string, float, FastFontStyle, FastGraphicsUnit, byte, bool)
create instance of font
public FastFont(string familyName, float fontSize, FastFontStyle fontStyle = FastFontStyle.Regular, FastGraphicsUnit point = FastGraphicsUnit.Point, byte fontCharSet = 1, bool vertical = false)
Parameters
familyName
string
fontSize
float
fontStyle
FastFontStyle
point
FastGraphicsUnit
fontCharSet
byte
vertical
bool
Properties
Bold
Indicate the font is bold
public bool Bold { get; }
Property Value
GdiCharSet
Internal usage only
public byte GdiCharSet { get; }
Property Value
GdiVerticalFont
Internal usage only
public bool GdiVerticalFont { get; }
Property Value
Italic
Indicate the font is italic
public bool Italic { get; }
Property Value
Name
Name of the font
public string Name { get; }
Property Value
Size
Current font size of the font
public float Size { get; }
Property Value
SizeInPoints
Return size in points
public float SizeInPoints { get; }
Property Value
Style
Style of the font
public FastFontStyle Style { get; }
Property Value
Underline
Indicate the font is underline
public bool Underline { get; }
Property Value
Unit
Current unit type of the font
[TypeConverter(typeof(FastFontConverter.FontUnitConverter))]
public FastGraphicsUnit Unit { get; }
Property Value
Methods
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
obj
object
The object to compare with the current object.
Returns
true if the specified object is equal to the current object; otherwise, false.
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
A hash code for the current object.