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


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


  • 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)


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