Class WebFont
Inheritance
System.Object
WebFont
Assembly: IronPdf.dll
Syntax
public class WebFont : Font
Constructors
WebFont(LocalFont, String, String, String, String)
Declaration
public WebFont(LocalFont fallbackFont = null, string woffUrl = null, string woff2Url = null, string trueTypeUrl = null, string openTypeUrl = null)
Parameters
Type |
Name |
Description |
LocalFont |
fallbackFont |
|
System.String |
woffUrl |
|
System.String |
woff2Url |
|
System.String |
trueTypeUrl |
|
System.String |
openTypeUrl |
|
Properties
FallbackFont
Declaration
public LocalFont FallbackFont { get; }
Property Value
FontFamily
Declaration
public override string FontFamily { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
OpenTypeUrl
Declaration
public string OpenTypeUrl { get; }
Property Value
Type |
Description |
System.String |
|
TrueTypeUrl
Declaration
public string TrueTypeUrl { get; }
Property Value
Type |
Description |
System.String |
|
Woff2Url
Declaration
public string Woff2Url { get; }
Property Value
Type |
Description |
System.String |
|
WoffUrl
Declaration
public string WoffUrl { get; }
Property Value
Type |
Description |
System.String |
|
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides