Class FontResolver
Assembly: Colectica.Reporting.dll
Syntax
public class FontResolver : IFontResolver, IFontResolverMarker
Constructors
FontResolver()
Declaration
Properties
DefaultFontName
Declaration
public string DefaultFontName { get; }
Property Value
NullIfFontNotFound
Declaration
public bool NullIfFontNotFound { get; set; }
Property Value
Methods
GetFont(string)
Gets the bytes of a physical font with specified face name.
Declaration
public virtual byte[] GetFont(string faceFileName)
Parameters
Type |
Name |
Description |
string |
faceFileName |
|
Returns
ResolveTypeface(string, bool, bool)
Converts specified information about a required typeface into a specific font.
Declaration
public virtual FontResolverInfo ResolveTypeface(string familyName, bool isBold, bool isItalic)
Parameters
Type |
Name |
Description |
string |
familyName |
Name of the font family.
|
bool |
isBold |
|
bool |
isItalic |
|
Returns
Type |
Description |
FontResolverInfo |
Information about the physical font, or null if the request cannot be satisfied.
|
SetupFontsFiles(string[])
Declaration
public static void SetupFontsFiles(string[] sSupportedFonts)
Parameters
Type |
Name |
Description |
string[] |
sSupportedFonts |
|
Implements