PDF4Java Reference Documentation
com.o2sol.pdf4java.flowdocument Package / PDFFlowDocumentHeader Class
Collapse All Expand All Members Options: Show All Members Options: Filtered
Include Inherited Members
Include Protected Members
In This Topic

PDFFlowDocumentHeader Class Methods
In This Topic

For a list of all members of this type, see PDFFlowDocumentHeader members.

Public Methods

| Name | Description
--- | --- | ---
| getContent | Gets the header content.
| getExtendLeft | Gets the left margin extension. By default, the header is drawn within the page left/right margins. You can increase the available width for the header by specifying a positive value for this method. For example if you want the header to spread from the left edge of the page to the right edge you can set the and methods to values that match the page's left and right margins.
| getExtendRight | Gets the right margin extension. By default, the header is drawn within the page left/right margins. You can increase the available width for the header by specifying a positive value for this method. For example if you want the header to spread from the left edge of the page to the right edge you can set the and methods to values that match the page's left and right margins.
| getTopMargin | Gets the top margin. If the header top margin plus header height are greater than page top margin, the page top margin is increased (content is moved down) in order to accomodate the header.
| setExtendLeft | Sets the left margin extension. By default, the header is drawn within the page left/right margins. You can increase the available width for the header by specifying a positive value for this method. For example if you want the header to spread from the left edge of the page to the right edge you can set the and methods to values that match the page's left and right margins.
| setExtendRight | Sets the right margin extension. By default, the header is drawn within the page left/right margins. You can increase the available width for the header by specifying a positive value for this method. For example if you want the header to spread from the left edge of the page to the right edge you can set the and methods to values that match the page's left and right margins.
| setTopMargin | Sets the top margin. If the header top margin plus header height are greater than page top margin, the page top margin is increased (content is moved down) in order to accomodate the header.

Top
See Also

#### Reference

PDFFlowDocumentHeader Class
com.o2sol.pdf4java.flowdocument Package

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.