PDF4Java Reference Documentation
com.o2sol.pdf4java.logicalstructure Package / PDFStructureElement Class / setType Method
A string identifying the nature of the structure element and its role within the document, such as a chapter, paragraph, or footnote.
Collapse All Expand All
In This Topic

setType Method
In This Topic
Sets the type of the structure element.
Names of structure element types shall conform to the guidelines described in Annex E, "PDF Name Registry", of PDF specification.
A set of standard structure types is defined as constants in class.
Syntax

    public void setType(
       java.lang.String value
    )

#### Parameters

value
  A string identifying the nature of the structure element and its role within the document, such as a chapter, paragraph, or footnote.

See Also

#### Reference

PDFStructureElement Class
PDFStructureElement Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.