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:

Properties

AscenderGets the ascender for the font.
(Inherited from OpenTypeFont)
CachePeriodGets or sets the cache period in milliseconds for Google fonts.
DescenderGets the descender for the font.
(Inherited from OpenTypeFont)
EmbedGets or sets a value indicating whether the font need to be embedded in to the pdf.
(Inherited from OpenTypeFont)
EncoderGets the encoder for the font.
(Inherited from Font)
FormFontNameGets the four character name of the font.
(Inherited from Font)
LineBreakerGets the instance of LineBreaker used for the font.
(Inherited from OpenTypeFont)
LineGapGets the line gap for the font.
(Inherited from OpenTypeFont)
NameGets the font name for the file given.
(Inherited from OpenTypeFont)
OutLineTypeGets the OutLineType of the opentype font.
(Inherited from OpenTypeFont)
RequiredPdfObjectsGets the required pdf objects.
(Inherited from OpenTypeFont)
ResourceTypeGets the value of ResourceType .
(Inherited from OpenTypeFont)
SubsetGets or sets a value indicating whether the font need to subset while embedding.
(Inherited from OpenTypeFont)
UidGets 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)

See Also

ceTe.DynamicPDF.Text

In this topic