Aspose::Pdf::Vector::Extraction::SvgExtractor::Extract method

SvgExtractor::Extract(System::SharedPtr<GraphicsAbsorber>, System::Predicate<System::SharedPtr<GraphicElement>>, System::SharedPtr<Page>) method

Exracts svg image to string from graphic elements represents by absorber with a predicate filter.

System::String Aspose::Pdf::Vector::Extraction::SvgExtractor::Extract(System::SharedPtr<GraphicsAbsorber> absorber, System::Predicate<System::SharedPtr<GraphicElement>> filter, System::SharedPtr<Page> page)
ParameterTypeDescription
absorberSystem::SharedPtr<GraphicsAbsorber>The GraphicsAbsorber object that contains the graphic elements.
filterSystem::Predicate<System::SharedPtr<GraphicElement>>A predicate function used to filter the graphic elements.
pageSystem::SharedPtr<Page>The page where the absorber gets graphic elements.

ReturnValue

The string with SVG content.

See Also

SvgExtractor::Extract(System::SharedPtr<GraphicsAbsorber>, System::Predicate<System::SharedPtr<GraphicElement>>, System::SharedPtr<Page>, System::String) method

Exracts svg image to file from graphic elements represents by absorber with a predicate filter.

void Aspose::Pdf::Vector::Extraction::SvgExtractor::Extract(System::SharedPtr<GraphicsAbsorber> absorber, System::Predicate<System::SharedPtr<GraphicElement>> filter, System::SharedPtr<Page> page, System::String svgFilePath)
ParameterTypeDescription
absorberSystem::SharedPtr<GraphicsAbsorber>The GraphicsAbsorber object that contains the graphic elements.
filterSystem::Predicate<System::SharedPtr<GraphicElement>>A predicate function used to filter the graphic elements.
pageSystem::SharedPtr<Page>The page where the absorber gets graphic elements.
svgFilePathSystem::StringThe target SVG file path.

See Also

SvgExtractor::Extract(System::SharedPtr<Page>) method

Extracts Svg images from a page to strings.

System::SharedPtr<System::Collections::Generic::List<System::String>> Aspose::Pdf::Vector::Extraction::SvgExtractor::Extract(System::SharedPtr<Page> page)
ParameterTypeDescription
pageSystem::SharedPtr<Page>The page to extract.

ReturnValue

The list of SVG content strings.

See Also

SvgExtractor::Extract(System::SharedPtr<Page>, System::String) method

Extracts Svg images from a page to files.

void Aspose::Pdf::Vector::Extraction::SvgExtractor::Extract(System::SharedPtr<Page> page, System::String directory)
ParameterTypeDescription
pageSystem::SharedPtr<Page>The page to extract.
directorySystem::StringThe target directory to place SVG images.

See Also

SvgExtractor::Extract(System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<GraphicElement>>>, System::SharedPtr<Page>) method

Extracts graphic elements into a SVG string. Options ignored - grouping, extracting from rectangle.

System::String Aspose::Pdf::Vector::Extraction::SvgExtractor::Extract(System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<GraphicElement>>> elements, System::SharedPtr<Page> page)
ParameterTypeDescription
elementsSystem::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<GraphicElement>>>The graphic elements to convert.
pageSystem::SharedPtr<Page>The page where the absorber gets graphic elements.

ReturnValue

The string with SVG content.

See Also

SvgExtractor::Extract(System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<GraphicElement>>>, System::SharedPtr<Page>, System::String) method

Extracts graphic elements into a single SVG file. Options ignored - grouping, extracting from rectangle.

void Aspose::Pdf::Vector::Extraction::SvgExtractor::Extract(System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<GraphicElement>>> elements, System::SharedPtr<Page> page, System::String svgFilePath)
ParameterTypeDescription
elementsSystem::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<GraphicElement>>>The graphic elements to convert.
pageSystem::SharedPtr<Page>The page where the absorber gets graphic elements.
svgFilePathSystem::StringThe target SVG file path.

See Also