Doc.getFont

Gets a Font instance of the requested font

  1. Font getFont(string fontName)
    class Doc
    Font
    getFont
    (
    string fontName
    )
  2. Font getFont(string fontName, string encodingName)

Parameters

fontName string

a valid font name

Return Value

Type: Font

when getFont() succeeds, it returns the instance of a Font object. Otherwise, it returns null and error-handler is called.

Meta