public class SvgProcessingUtil extends Object
Constructor and Description |
---|
SvgProcessingUtil() |
Modifier and Type | Method and Description |
---|---|
com.itextpdf.layout.element.Image |
createImageFromProcessingResult(com.itextpdf.svg.processors.ISvgProcessorResult result, com.itextpdf.kernel.pdf.PdfDocument pdfDocument)
Create an Image layout object tied to the passed PdfDocument using the SVG processing result.
|
com.itextpdf.kernel.pdf.xobject.PdfFormXObject |
createXObjectFromProcessingResult(com.itextpdf.svg.processors.ISvgProcessorResult result, com.itextpdf.kernel.pdf.PdfDocument pdfDocument)
Create an PdfFormXObject tied to the passed PdfDocument using the SVG processing result.
|
public com.itextpdf.layout.element.Image createImageFromProcessingResult(com.itextpdf.svg.processors.ISvgProcessorResult result, com.itextpdf.kernel.pdf.PdfDocument pdfDocument)
Image
layout object tied to the passed PdfDocument
using the SVG processing result.
result
- Processing result containing the SVG information
pdfDocument
- pdf that shall contain the image
public com.itextpdf.kernel.pdf.xobject.PdfFormXObject createXObjectFromProcessingResult(com.itextpdf.svg.processors.ISvgProcessorResult result, com.itextpdf.kernel.pdf.PdfDocument pdfDocument)
PdfFormXObject
tied to the passed PdfDocument
using the SVG processing result.
result
- Processing result containing the SVG information
pdfDocument
- pdf that shall contain the image
Copyright © 1998–2020 iText Group NV. All rights reserved.