Class FontResolver
Inheritance
System.Object
FontResolver
Assembly: IronPdf.dll
Syntax
public abstract class FontResolver : Object
Constructors
FontResolver()
Declaration
Properties
Default
Declaration
public static FontResolver Default { get; }
Property Value
EmbedOpenType
Declaration
public static FontResolver EmbedOpenType { get; }
Property Value
EmbedWoff
Declaration
public static FontResolver EmbedWoff { get; }
Property Value
LocalFonts
Declaration
public static FontResolver LocalFonts { get; }
Property Value
Methods
ResolveFont(SourceFont, CancellationToken)
Declaration
public virtual Font ResolveFont(SourceFont sourceFont, CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
SourceFont |
sourceFont |
|
System.Threading.CancellationToken |
cancellationToken |
|
Returns
ResolveFontAsync(SourceFont, CancellationToken)
Declaration
public virtual Task<Font> ResolveFontAsync(SourceFont sourceFont, CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
SourceFont |
sourceFont |
|
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<Font> |
|