Table of Contents

Method AddFontLocation

Namespace
SharpVectors.Renderers.Wpf
Assembly
SharpVectors.Rendering.Wpf.dll

AddFontLocation(string)

This adds the specified local font location (file or directory) to enable the use of private fonts.

public void AddFontLocation(string fontLocation)

Parameters

fontLocation string

A string containing the path to a font file.

Remarks

The fontLocation value cannot be a file path or a directory. If a directory is specified, all the files with the standard font file extensions in the directory will be loaded.

The fontLocation must not be null or empty string and the specified location must exists.