The getSection
method returns a LuaDocument object with the specified section as the active section.
getSection(number)
Argument | Description |
---|---|
number
|
(number) The document section for which you want to return a LuaDocument object. |
(LuaDocument). A LuaDocument object with the specified section as the active section.
-- Get object for section 7 of document local section = document:getSection(7) -- Get the content from the section local content = section:getContent()
|