Class SvgImage
A layout element that represents SVG image for inclusion in the document model.
public class SvgImage : Image, IAbstractElement, ILeafElement, IElement, IPropertyContainer, IAccessibleElement
- Inheritance
-
SvgImage
- Implements
- Inherited Members
Constructors
SvgImage(SvgImageXObject)
Creates an SvgImage from the SvgImageXObject which represents Form XObject and contains processor result with the SVG information and resource resolver for the SVG image.
public SvgImage(SvgImageXObject xObject)
Parameters
xObject
SvgImageXObjectan internal SvgImageXObject.
Methods
Generate(PdfDocument)
Draws SVG image to a canvas-like object maintained in the SvgDrawContext.
public virtual void Generate(PdfDocument document)
Parameters
document
PdfDocumentpdf that shall contain the SVG image.
MakeNewRenderer()
protected override IRenderer MakeNewRenderer()