Uses of Class
com.itextpdf.layout.element.Image
Package
Description
-
Uses of Image in com.itextpdf.forms.form.element
-
Uses of Image in com.itextpdf.layout
-
Uses of Image in com.itextpdf.layout.element
Modifier and TypeMethodDescriptionImage.scale
(float horizontalScaling, float verticalScaling) Scale the image relative to its default size.Image.scaleAbsolute
(float fitWidth, float fitHeight) Scale the image to an absolute size.Image.scaleToFit
(float fitWidth, float fitHeight) Scale the image to an absolute size.Image.setAutoScale
(boolean autoScale) Sets the autoscale property for both width and height.Image.setAutoScaleHeight
(boolean autoScale) Sets the autoscale property for the height of the image.Image.setAutoScaleWidth
(boolean autoScale) Sets the autoscale property for the width of the image.Image.setFixedPosition
(float left, float bottom) Sets values for a absolute repositioning of the Element.Image.setFixedPosition
(int pageNumber, float left, float bottom) Sets values for a absolute repositioning of the Element, on a specific page.Image.setHeight
(float height) Sets the height property of the image, measured in points.Sets the height property of the image with aUnitValue
.Image.setMarginBottom
(float value) Sets the bottom margin width of the image.Image.setMarginLeft
(float value) Sets the left margin width of the element.Image.setMarginRight
(float value) Sets the right margin width of the image.Image.setMargins
(float marginTop, float marginRight, float marginBottom, float marginLeft) Sets the margins around the image to a series of new widths.Image.setMarginTop
(float value) Sets the top margin width of the image.Image.setMaxHeight
(float maxHeight) Sets the max-height property of the image, measured in points.Image.setMaxHeight
(UnitValue maxHeight) Sets the max-height property of the image with aUnitValue
.Image.setMaxWidth
(float maxWidth) Sets the max-width property of the image, measured in points.Image.setMaxWidth
(UnitValue maxWidth) Sets the max-width property of the image with aUnitValue
.Image.setMinHeight
(float minHeight) Sets the min-height property of the image, measured in points.Image.setMinHeight
(UnitValue minHeight) Sets the min-height property of the image with aUnitValue
.Image.setMinWidth
(float minWidth) Sets the min-width property of the image, measured in points.Image.setMinWidth
(UnitValue minWidth) Sets the min-width property of the image with aUnitValue
.Image.setNeutralRole()
Give this element a neutral role.Image.setObjectFit
(ObjectFit objectFit) Sets an object-fit mode for the image.Image.setPadding
(float commonPadding) Sets all paddings around the image to the same width.Image.setPaddingBottom
(float value) Sets the bottom padding width of the image.Image.setPaddingLeft
(float value) Sets the left padding width of the image.Image.setPaddingRight
(float value) Sets the right padding width of the image.Image.setPaddings
(float paddingTop, float paddingRight, float paddingBottom, float paddingLeft) Sets the paddings around the image to a series of new widths.Image.setPaddingTop
(float value) Sets the top padding width of the image.Image.setRotationAngle
(double radAngle) Sets the rotation radAngle.Image.setWidth
(float width) Sets the width property of the image, measured in points.Sets the width property of the image with aUnitValue
.Modifier and TypeMethodDescriptionAdds an image to the cell's contents.Adds an image to the div's contents.Adds a new cell with received image as a content.Table.addFooterCell
(Image image) Adds a new cell with received image as a content to the footer of the table.Table.addHeaderCell
(Image image) Adds a new cell with received image to the header of the table.List.setListSymbol
(Image image) Sets the list symbol to be used.ListItem.setListSymbol
(Image image) Sets the list item symbol to be used. -
Uses of Image in com.itextpdf.layout.renderer
ModifierConstructorDescriptionImageRenderer
(Image image) Creates an ImageRenderer from its corresponding layout object. -
Uses of Image in com.itextpdf.svg.converter
Modifier and TypeMethodDescriptionstatic Image
SvgConverter.convertToImage
(InputStream stream, PdfDocument document) Converts a String containing valid SVG content to anXObject
that can then be used on the passedPdfDocument
.static Image
SvgConverter.convertToImage
(InputStream stream, PdfDocument document, ISvgConverterProperties props) Converts a String containing valid SVG content to animage
that can then be used on the passedPdfDocument
.