public interface ILargeElement extends IElement
ILargeElement
is a layout element which may get added to indefinitely, making the object prohibitively large. In order to avoid consuming and holding on to undesirable amounts of resources, the contents of a ILargeElement
can be flushed regularly by client code, e.g. at page boundaries or after a certain amount of additions.
Modifier and Type | Method and Description |
---|---|
void |
complete()
Indicates that all the desired content has been added to this large element.
|
void |
flush()
Writes the newly added content to the document.
|
void |
flushContent()
Flushes the content which has just been added to the document.
|
boolean |
isComplete()
Checks whether an element has already been marked as complete.
|
void |
setDocument(Document document)
Sets the document this element is bound to.
|
createRendererSubTree, getRenderer, setNextRenderer
deleteOwnProperty, getDefaultProperty, getOwnProperty, getProperty, hasOwnProperty, hasProperty, setProperty
boolean isComplete()
void complete()
void flush()
void flushContent()
void setDocument(Document document)
document
- the document
Copyright © 1998–2018 iText Group NV. All rights reserved.