Show / Hide Table of Contents

Class FontResolver

Inheritance
object
FontResolver
Implements
IFontResolver
IFontResolverMarker
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Colectica.Reporting
Assembly: Colectica.Reporting.dll
Syntax
public class FontResolver : IFontResolver, IFontResolverMarker

Constructors

FontResolver()

Declaration
public FontResolver()

Properties

DefaultFontName

Declaration
public string DefaultFontName { get; }
Property Value
Type Description
string

NullIfFontNotFound

Declaration
public bool NullIfFontNotFound { get; set; }
Property Value
Type Description
bool

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
Type Description
byte[]

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

IFontResolver
IFontResolverMarker
In this article
Back to top Generated by DocFX