PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics.formattedcontent Package / PDFFormattedContent Class / addParagraph Method / addParagraph(String) Method
Paragraph content.
Collapse All Expand All
In This Topic

addParagraph(String) Method
In This Topic
Creates a new paragraph with the specified content and adds it to the collection.
Syntax

    public PDFFormattedParagraph addParagraph(
       java.lang.String content
    )

#### Parameters

content
  Paragraph content.

#### Return Value

The new paragraph.
Exceptions

Exception | Description
--- | ---
java.lang.IllegalArgumentException | When content is null.

See Also

#### Reference

PDFFormattedContent Class
PDFFormattedContent Members
Overload List

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.