Returns the Font object from which the properties of a font used in the frame are inherited

Signature:

font = SimpleHTML:GetFontObject(["element"])

Arguments:

  • element - Name of an HTML element for which to return font information (e.g. p, h1); if omitted, returns information about the frame's default font (string)

Returns:

  • font - Reference to the Font object from which font properties are inherited, or nil if no properties are inherited (font)