Class Font
Inheritance
System.Object
Font
Assembly: IronXL.dll
Syntax
public sealed class Font : Object
Constructors
Font(Font, FontStyle)
Declaration
public Font(Font prototype, FontStyle style)
Parameters
Font(Font, Single)
Declaration
public Font(Font prototype, float size)
Parameters
Type |
Name |
Description |
Font |
prototype |
|
System.Single |
size |
|
Font(Font, Single, FontStyle)
Declaration
public Font(Font prototype, float size, FontStyle style)
Parameters
Type |
Name |
Description |
Font |
prototype |
|
System.Single |
size |
|
FontStyle |
style |
|
Font(FontFamily, Single)
Declaration
public Font(FontFamily family, float size)
Parameters
Type |
Name |
Description |
FontFamily |
family |
|
System.Single |
size |
|
Font(FontFamily, Single, FontStyle)
Declaration
public Font(FontFamily family, float size, FontStyle style)
Parameters
Properties
Family
Declaration
public FontFamily Family { get; }
Property Value
FontMetrics
Declaration
public FontMetrics FontMetrics { get; }
Property Value
IsBold
Declaration
public bool IsBold { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsItalic
Declaration
public bool IsItalic { get; }
Property Value
Type |
Description |
System.Boolean |
|
Name
Declaration
public string Name { get; }
Property Value
Type |
Description |
System.String |
|
Size
Declaration
public float Size { get; }
Property Value
Type |
Description |
System.Single |
|
Methods
GetGlyphs(CodePoint, ColorFontSupport)
Declaration
public IEnumerable<Glyph> GetGlyphs(CodePoint codePoint, ColorFontSupport support)
Parameters
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<Glyph> |
|
GetGlyphs(CodePoint, TextAttributes, ColorFontSupport)
Declaration
public IEnumerable<Glyph> GetGlyphs(CodePoint codePoint, TextAttributes textAttributes, ColorFontSupport support)
Parameters
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<Glyph> |
|
TryGetPath(out String)
Declaration
public bool TryGetPath(out string path)
Parameters
Type |
Name |
Description |
System.String |
path |
|
Returns
Type |
Description |
System.Boolean |
|