SvgExtractor

Overview

SvgExtractor is a class in Aspose.PDF FOSS for .NET.

Writes the vector graphics of a page, or a chosen part of them, as SVG documents.

This class declares 8 methods for SvgExtractor objects in .NET programs. Available methods include: Extract, SvgExtractor. Public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.

Methods

SignatureDescription
SvgExtractor()An extractor with the default options.
SvgExtractor(options: SvgExtractionOptions)An extractor with the given options.
Extract(absorber: GraphicsAbsorber, filter: Predicate<GraphicElement>, page: Page)One SVG of the absorbed elements of page that pass filter.
Extract(absorber: GraphicsAbsorber, filter: Predicate<GraphicElement>, page: Page, svgFilePath: string)Writes Extract(GraphicsAbsorber, Predicate{GraphicElement}, Page) to a file.
Extract(elements: IEnumerable<GraphicElement>, page: Page)One SVG holding elements, placed as they lie on page.
Extract(elements: IEnumerable<GraphicElement>, page: Page, svgFilePath: string)Writes Extract(IEnumerable{GraphicElement}, Page) to a file.
Extract(page: Page)One SVG per element (or per group, or per sub-path - see SvgExtractionOptions) of page.
Extract(page: Page, directory: string)Writes Extract(Page) into directory, one numbered file each.

See Also