Package | Description |
---|---|
com.itextpdf.layout | |
com.itextpdf.layout.element |
Modifier and Type | Method and Description |
---|---|
Style |
Style.setKeepTogether(boolean keepTogether)
Sets whether the BlockElement should be kept together as much as possible.
|
Style |
Style.setMargin(float commonMargin)
Sets all margins around the element to the same width.
|
Style |
Style.setMarginBottom(float value)
Sets the bottom margin width of the element.
|
Style |
Style.setMarginLeft(float value)
Sets the left margin width of the element.
|
Style |
Style.setMarginRight(float value)
Sets the right margin width of the element.
|
Style |
Style.setMargins(float marginTop, float marginRight, float marginBottom, float marginLeft)
Sets the margins around the element to a series of new widths.
|
Style |
Style.setMarginTop(float value)
Sets the top margin width of the element.
|
Style |
Style.setPadding(float commonPadding)
Sets all paddings around the element to the same width.
|
Style |
Style.setPaddingBottom(float value)
Sets the bottom padding width of the element.
|
Style |
Style.setPaddingLeft(float value)
Sets the left padding width of the element.
|
Style |
Style.setPaddingRight(float value)
Sets the right padding width of the element.
|
Style |
Style.setPaddings(float paddingTop, float paddingRight, float paddingBottom, float paddingLeft)
Sets the paddings around the element to a series of new widths.
|
Style |
Style.setPaddingTop(float value)
Sets the top padding width of the element.
|
Style |
Style.setRotationAngle(double angle)
Sets the rotation angle.
|
Style |
Style.setRotationAngle(float radAngle)
Sets the rotation radAngle.
|
Style |
Style.setSpacingRatio(float ratio)
Sets a ratio which determines in which proportion will word spacing and character spacing be applied when horizontal alignment is justified.
|
Style |
Style.setVerticalAlignment(VerticalAlignment verticalAlignment)
Sets the vertical alignment of the element.
|
Modifier and Type | Field and Description |
---|---|
protected Set<Style> |
AbstractElement.styles |
Modifier and Type | Method and Description |
---|---|
T |
AbstractElement.addStyle(Style style)
Add a new style to this element.
|
Copyright © 1998–2018 iText Group NV. All rights reserved.