SvgDocument Constructor (XmlDocument, Double, PdfGeneratedDocument, SvgParsingErrorEventHandler) |
A PdfRenderable object that should be added to a PdfGeneratedPage drawing list to allow objects from
a Svg file to be inserted on page.
Namespace:
Atalasoft.PdfDoc.Generating.Utilities.VectorImport.DOM
Assembly:
Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public SvgDocument(
XmlDocument xml,
double pageHeight,
PdfGeneratedDocument doc,
SvgParsingErrorEventHandler parsingErrorHandler
)
Public Sub New (
xml As XmlDocument,
pageHeight As Double,
doc As PdfGeneratedDocument,
parsingErrorHandler As SvgParsingErrorEventHandler
)
Parameters
- xml
- Type: System.XmlXmlDocument
An XmlDocument object loaded with SVG. Can use the LoadXml() method to load a string of SVG - pageHeight
- Type: SystemDouble
The page height of the Pdf Document the SVG objects will appear - doc
- Type: Atalasoft.PdfDoc.GeneratingPdfGeneratedDocument
The PdfGeneratedDocument object to the SVG will be inserted. - parsingErrorHandler
- Type: Atalasoft.PdfDoc.Generating.Utilities.VectorImportSvgParsingErrorEventHandler
The parsing error delegate. Can be set to null (Nothing in
Visual Basic).
See Also