Search Results for

    Show / Hide Table of Contents

    Class SvgFontManager

    Manages access to and any privately loaded fonts. When a font is requested in the render process, if the font is not found as an embedded SvgFont, the render process will SvgFontManager.FindFont method.

    Inheritance
    Object
    SvgFontManager
    Implements
    System.IDisposable
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Svg
    Assembly: Svg.dll
    Syntax
    public class SvgFontManager : IDisposable

    Properties

    | Improve this Doc View Source

    LocalizedFamilyNames

    Declaration
    public static List<string[]> LocalizedFamilyNames { get; }
    Property Value
    Type Description
    List<System.String[]>
    | Improve this Doc View Source

    PrivateFontDataList

    Declaration
    public static List<byte[]> PrivateFontDataList { get; }
    Property Value
    Type Description
    List<System.Byte[]>
    | Improve this Doc View Source

    PrivateFontPathList

    Declaration
    public static List<string> PrivateFontPathList { get; }
    Property Value
    Type Description
    List<System.String>

    Methods

    | Improve this Doc View Source

    Dispose()

    Declaration
    public void Dispose()
    | Improve this Doc View Source

    FindFont(String)

    This method searches a dictionary of fonts (pre loaded with the system fonts). If a font can't be found and a callback has been provided - then the callback should perform any validation and return a font (or null if not found/error). Where a font can't be located it is the responsibility of the caller to perform any exception handling.

    Declaration
    public FontFamily FindFont(string name)
    Parameters
    Type Name Description
    System.String name

    A System.String containing the FamilyName of the font.

    Returns
    Type Description
    FontFamily

    An of the loaded font or null is not located.

    Implements

    System.IDisposable
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX