Table of Contents

Method ResolveTypeface

Namespace
PdfSharp.Fonts
Assembly
PdfSharp.dll

ResolveTypeface(string, bool, bool)

Converts specified information about a required typeface into a specific font.

FontResolverInfo? ResolveTypeface(string familyName, bool bold, bool italic)

Parameters

familyName string

Name of the font family.

bold bool

Set to true when a bold font face is required.

italic bool

Set to true when an italic font face is required.

Returns

FontResolverInfo

Information about the physical font, or null if the request cannot be satisfied.