Figure

Package: Libraries.Web.Page · Inherits from: Libraries.Web.Page.AttributeAccepter, Libraries.Language.Object, Libraries.Web.Page.GlobalAttributeAccepter, Libraries.Web.Page.WebTag

The Figure class represents HTML's (Hypertext Markup Language) figure tag which is used to define self contained content like an image or diagram that can be used for reference. Use the FigureCaption to add a description to the Figure. You can find more information about this tag at: The figure attribute.

Example Code

use Libraries.Web.Page.all

class Main
action main
  WebPage page

  Figure fig
  Image image
  image:SetAddress("myImage.jpg")
  fig:Add(img)

  page:AddToBody(fig)
  output page:Generate()
end
end

Actions

Generate()

Returns

text

Inherited Actions

2 actions from Libraries.Language.Object
10 actions from Libraries.Web.Page.AttributeAccepter
29 actions from Libraries.Web.Page.GlobalAttributeAccepter
8 actions from Libraries.Web.Page.WebTag