PDF4Java Reference Documentation
com.o2sol.pdf4java.flowdocument Package / PDFFlowTextContent Class / getContentHeight Method
The width for which the content height is computed.
Collapse All Expand All
In This Topic

getContentHeight Method
In This Topic
Gets the content height.
When this method is called for the first time, the content height is calculated. Subsequent calls with the same 'width' parameter return the already computed height.
Syntax

    public double getContentHeight(
       double width
    )

#### Parameters

width
  The width for which the content height is computed.

#### Return Value

The height of the content for the specified width.
See Also

#### Reference

PDFFlowTextContent Class
PDFFlowTextContent Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.