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

© 2014 Hewlett-Packard Development Company, L.P.