getSectionCount

The getSectionCount method returns the number of sections in a document.

Syntax

getSectionCount()

Returns

(Number). The number of sections.

Example

local sectionCount = document:getSectionCount()

_HP_HTML5_bannerTitle.htm