GoogleFont
Represents a GoogleFont class.
public class GoogleFont : OpenTypeFont, IDisposable, IFontSubsettable
Public Class GoogleFont
Inherits OpenTypeFont
Implements IDisposable, IFontSubsettable
Inheritance: ObjectResourceFontOpenTypeFontGoogleFont
Implements: IDisposable, IFontSubsettable
Licensing Info
This class is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Properties
Ascender | Gets the ascender for the font. (Inherited from OpenTypeFont) |
CachePeriod | Gets or sets the cache period in milliseconds for Google fonts. |
Descender | Gets the descender for the font. (Inherited from OpenTypeFont) |
Embed | Gets or sets a value indicating whether the font need to be embedded in to the pdf. (Inherited from OpenTypeFont) |
Encoder | Gets the encoder for the font. (Inherited from Font) |
FormFontName | Gets the four character name of the font. (Inherited from Font) |
LineBreaker | Gets the instance of LineBreaker used for the font. (Inherited from OpenTypeFont) |
LineGap | Gets the line gap for the font. (Inherited from OpenTypeFont) |
Name | Gets the font name for the file given. (Inherited from OpenTypeFont) |
OutLineType | Gets the OutLineType of the opentype font. (Inherited from OpenTypeFont) |
RequiredPdfObjects | Gets the required pdf objects. (Inherited from OpenTypeFont) |
ResourceType | Gets the value of ResourceType . (Inherited from OpenTypeFont) |
Subset | Gets or sets a value indicating whether the font need to subset while embedding. (Inherited from OpenTypeFont) |
Uid | Gets the unique ID of the resource. (Inherited from Resource) |
Methods
Dispose() | Releases all resources used by the OpenTypeFont object. (Inherited from OpenTypeFont) |
Draw(DocumentWriter) | Draw the opentype font data to the DocumentWriter . (Inherited from OpenTypeFont) |
Equals(Object) | Determines whether the specified Object is equal to the current Object . (Inherited from Object) |
GetAscender(Single) | Returns the ascender of the font in points for the given font size. (Inherited from Font) |
GetBaseLine(Single, Single) | Returns the baseline of the font in points for the given leading and font size. (Inherited from Font) |
GetDefaultLeading(Single) | Returns the default leading of the font in points for the given font size. (Inherited from Font) |
GetDescender(Single) | Returns the descender of the font in points for the given font size. (Inherited from Font) |
GetFontSubsetter() | eturns a font subsetter for the opentype font. (Inherited from OpenTypeFont) |
GetGlyphWidth(Char) | Returns the mwidth of the given char. (Inherited from OpenTypeFont) |
GetHashCode() | Serves as a hash function for a particular type. (Inherited from Object) |
GetKernValue(Char, Char) | Returns the kern value correspoding to the given glyph combination. (Inherited from OpenTypeFont) |
GetLineGap(Single) | Returns the line gap of the font in points for the given font size. (Inherited from Font) |
GetTextLines(Char[], Single, Single) | Returns a TextLineList for the given character array. (Inherited from Font) |
GetTextLines(Char[], Single, Single, Single) | Returns a TextLineList for the given character array. (Inherited from Font) |
GetTextWidth(Char[], Single) | Returns the width of the given text. (Inherited from Font) |
GetTextWidth(String, Single) | Returns the width of the given text. (Inherited from Font) |
GetType() | Gets the Type of the current instance. (Inherited from Object) |
HasKerning() | Returns whether the font has inbuilt kerning pairs. (Inherited from OpenTypeFont) |
ToString() | Returns a String that represents the current Object . (Inherited from Object) |