PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics.formattedcontent Package / PDFFormattedContent Class / getWidth Method
Collapse All Expand All
In This Topic

getWidth Method
In This Topic
Gets the width of the formatted content.
The method must be called before calling this method. This method can also be called after the formatted content has been drawn on the page.
Syntax

    public double getWidth()

#### Return Value

The actual width of the formatted content after is has been wrapped at a given width.
See Also

#### Reference

PDFFormattedContent Class
PDFFormattedContent Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.