PDF4Java Reference Documentation
com.o2sol.pdf4java.flowdocument Package / PDFFlowHeadingContent Class / getLevel Method
Collapse All Expand All
In This Topic

getLevel Method
In This Topic
Gets the heading level (1 to 8).
Level 1 is the top most heading, level 2 headings are children of level 1 and so on.
The level information is used to build the document's outline tree and to generate correctly the heading number if method is true.
Syntax

    public int getLevel()

#### Return Value

An integer value greater than 0 and smaller than or equal to 8.
See Also

#### Reference

PDFFlowHeadingContent Class
PDFFlowHeadingContent Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.