public class AreaBreak extends AbstractElement<AreaBreak>
PageSize is given, the new content area will have the same size as the current one.
| Modifier and Type | Field and Description |
|---|---|
protected PageSize |
pageSize |
childElements, nextRenderer, stylesproperties| Constructor and Description |
|---|
AreaBreak()
Creates an AreaBreak.
|
AreaBreak(AreaBreakType areaBreakType)
Creates an AreaBreak that terminates a specified area type.
|
AreaBreak(PageSize pageSize)
Creates an AreaBreak.
|
| Modifier and Type | Method and Description |
|---|---|
PageSize |
getPageSize()
Gets the page size.
|
AreaBreakType |
getType()
Gets the type of area that this AreaBreak will terminate.
|
protected IRenderer |
makeNewRenderer() |
void |
setPageSize(PageSize pageSize)
Sets the page size.
|
addStyle, createRendererSubTree, getChildren, getProperty, getRenderer, hasProperty, isEmpty, propagateArtifactRoleToChildElements, setAction, setNextRenderer, setPageNumberdeleteOwnProperty, getDefaultProperty, getHeight, getOwnProperty, getSplitCharacters, getStrokeColor, getStrokeWidth, getTextRenderingMode, getWidth, hasOwnProperty, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBaseDirection, setBold, setBorder, setBorderBottom, setBorderLeft, setBorderRight, setBorderTop, setCharacterSpacing, setDestination, setFixedPosition, setFixedPosition, setFixedPosition, setFixedPosition, setFont, setFont, setFontColor, setFontColor, setFontKerning, setFontScript, setFontSize, setHeight, setHorizontalAlignment, setHyphenation, setItalic, setLineThrough, setOpacity, setProperty, setRelativePosition, setSplitCharacters, setStrokeColor, setStrokeWidth, setTextAlignment, setTextRenderingMode, setUnderline, setUnderline, setUnderline, setUnderline, setWidth, setWidth, setWidthPercent, setWordSpacingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeleteOwnProperty, getDefaultProperty, getOwnProperty, hasOwnProperty, setPropertyprotected PageSize pageSize
public AreaBreak()
public AreaBreak(AreaBreakType areaBreakType)
areaBreakType - an area break type
public AreaBreak(PageSize pageSize)
pageSize - the size of the new content area
public PageSize getPageSize()
page size of the next content area.
public void setPageSize(PageSize pageSize)
pageSize - the new page size of the next content area.
public AreaBreakType getType()
area break type
protected IRenderer makeNewRenderer()
makeNewRenderer in class AbstractElement<AreaBreak>
Copyright © 1998–2017 iText Group NV. All rights reserved.