Table of Contents

Method CreateFromFile

Namespace
PdfSharp.Drawing
Assembly
PdfSharp.dll

CreateFromFile(string)

Creates an XFontSource from a font file.

public static XFontSource CreateFromFile(string path)

Parameters

path string

The path of the font file.

Returns

XFontSource

CreateFromFile(Uri)

Creates an XFontSource from a uri to a font file.

public static XFontSource CreateFromFile(Uri fontSourceUri)

Parameters

fontSourceUri Uri

Returns

XFontSource