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

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

PDFFlowContent Class
PDFFlowContent Members
Overload List

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.