Table of Contents

Property UseWindowsFontsUnderWindows

Namespace
PdfSharp.Fonts
Assembly
PdfSharp.dll

UseWindowsFontsUnderWindows

Gets or sets a value that defines what to do if the Core build of PDFsharp runs under Windows. If true, PDFsharp uses the build-in WindowsPlatformFontResolver to resolve some standards fonts like Arial or Times New Roman if the code runs under Windows. If false, which is default, you must provide your own custom font resolver. We recommend to use always a custom font resolver for a PDFsharp Core build.

public static bool UseWindowsFontsUnderWindows { get; set; }

Property Value

bool