pdfHTML 2.1.6 API
iText.Html2pdf.Util.SvgProcessingUtil Class Reference

Utility class for handling operations related to SVG More...

Public Member Functions

virtual Image  CreateImageFromProcessingResult (ISvgProcessorResult result, PdfDocument pdfDocument)
  Create an Image layout object tied to the passed PdfDocument using the SVG processing result. More...
 
virtual PdfFormXObject  CreateXObjectFromProcessingResult (ISvgProcessorResult result, PdfDocument pdfDocument)
  Create an iText.Kernel.Pdf.Xobject.PdfFormXObject tied to the passed PdfDocument using the SVG processing result. More...
 

Detailed Description

Utility class for handling operations related to SVG

Member Function Documentation

◆ CreateImageFromProcessingResult()

virtual Image iText.Html2pdf.Util.SvgProcessingUtil.CreateImageFromProcessingResult ( ISvgProcessorResult  result,
PdfDocument  pdfDocument 
)
inlinevirtual

Create an Image layout object tied to the passed PdfDocument using the SVG processing result.

Parameters
result Processing result containing the SVG information
pdfDocument pdf that shall contain the image
Returns
image layout object

◆ CreateXObjectFromProcessingResult()

virtual PdfFormXObject iText.Html2pdf.Util.SvgProcessingUtil.CreateXObjectFromProcessingResult ( ISvgProcessorResult  result,
PdfDocument  pdfDocument 
)
inlinevirtual

Create an iText.Kernel.Pdf.Xobject.PdfFormXObject tied to the passed PdfDocument using the SVG processing result.

Parameters
result Processing result containing the SVG information
pdfDocument pdf that shall contain the image
Returns
PdfFormXObject instance