PDFRasterizer.NET 4.0 is now available. Supports .NET Core. Renders pixel-perfectly.

Method Create

Namespace TallComponents.PDF.Fonts
Class Font

Tries to find the first matching font.

First the additionalFontFolders (from left to right if multiple are specified) will be used to find, if this doesn't result in any font, the windows folder will be tried.

Syntax

public Font Create(String familyNameBoolean boldBoolean italicString additionalFontFolders)

Returns

Font

The font or null if none found.

Parameters


String familyName
The font family to look for.

Boolean bold
True if a bold font needs to be resolved.

Boolean italic
True if a bold font needs to be resolved.

String additionalFontFolders
One or more paths (semicolon [;] seperated) to folder(s) with TTF documents.
Download PDFKit.NET 4.0
We will send you a download link

  • This field is for validation purposes and should be left unchanged.
Why do we ask your email address?
We send tips that speed up your evaluation
We let you know about bug fixes
You can always unsubscribe with one click
We never share your address with a 3rd party
Thank you for your download

We have sent an email with a download link.