Package | Description |
---|---|
com.itextpdf.layout | |
com.itextpdf.layout.element | |
com.itextpdf.layout.renderer |
Modifier and Type | Method and Description |
---|---|
T |
RootElement.add(Image image)
Adds an image to the root.
|
Modifier and Type | Method and Description |
---|---|
Image |
Image.scale(float horizontalScaling, float verticalScaling)
Scale the image relative to its default size.
|
Image |
Image.scaleAbsolute(float fitWidth, float fitHeight)
Scale the image to an absolute size.
|
Image |
Image.scaleToFit(float fitWidth, float fitHeight)
Scale the image to an absolute size.
|
Image |
Image.setAutoScale(boolean autoScale)
Sets the autoscale property for both width and height.
|
Image |
Image.setAutoScaleHeight(boolean autoScale)
Sets the autoscale property for the height of the image.
|
Image |
Image.setAutoScaleWidth(boolean autoScale)
Sets the autoscale property for the width of the image.
|
Image |
Image.setFixedPosition(float x, float y)
Sets values for a absolute repositioning of the Element.
|
Image |
Image.setFixedPosition(int pageNumber, float x, float y)
Sets values for a absolute repositioning of the Element, on a specific page.
|
Image |
Image.setMarginBottom(float value)
Sets the bottom margin width of the element.
|
Image |
Image.setMarginLeft(float value)
Sets the left margin width of the element.
|
Image |
Image.setMarginRight(float value)
Sets the right margin width of the element.
|
Image |
Image.setMargins(float marginTop, float marginRight, float marginBottom, float marginLeft)
Sets the margins around the element to a series of new widths.
|
Image |
Image.setMarginTop(float value)
Sets the top margin width of the element.
|
Image |
Image.setMaxHeight(float maxHeight) |
Image |
Image.setMaxWidth(float maxWidth) |
Image |
Image.setMinHeight(float minHeight) |
Image |
Image.setMinWidth(float minWidth) |
Image |
Image.setRotationAngle(double radAngle)
Sets the rotation radAngle.
|
Modifier and Type | Method and Description |
---|---|
Div |
Div.add(Image element)
Adds an image to the div's contents.
|
Cell |
Cell.add(Image element)
Adds an image to the cell's contents.
|
Table |
Table.addCell(Image image)
Adds a new cell with received image as a content.
|
Table |
Table.addFooterCell(Image image)
Adds a new cell with received image as a content to the footer of the table.
|
Table |
Table.addHeaderCell(Image image)
Adds a new cell with received image to the header of the table.
|
ListItem |
ListItem.setListSymbol(Image image)
Sets the list item symbol to be used.
|
List |
List.setListSymbol(Image image)
Sets the list symbol to be used.
|
Constructor and Description |
---|
ListItem(Image image)
Creates a list item with an image.
|
Constructor and Description |
---|
ImageRenderer(Image image)
Creates an ImageRenderer from its corresponding layout object.
|
Copyright © 1998–2017 iText Group NV. All rights reserved.