Aspose::Pdf::Vector::SvgExtractor::Extract method
Contents
[
Hide
]SvgExtractor::Extract(const System::SharedPtr<GraphicsAbsorber>&, System::Predicate<System::SharedPtr<GraphicElement>>, const System::SharedPtr<Page>&) method
Exracts svg image to string from graphic elements represents by absorber with a predicate filter.
System::String Aspose::Pdf::Vector::SvgExtractor::Extract(const System::SharedPtr<GraphicsAbsorber> &absorber, System::Predicate<System::SharedPtr<GraphicElement>> filter, const System::SharedPtr<Page> &page)
| Parameter | Type | Description |
|---|---|---|
| absorber | const System::SharedPtr<GraphicsAbsorber>& | The GraphicsAbsorber object that contains the graphic elements. |
| filter | System::Predicate<System::SharedPtr<GraphicElement>> | A predicate function used to filter the graphic elements. |
| page | const System::SharedPtr<Page>& | The page where the absorber gets graphic elements. |
ReturnValue
The string with SVG content.
See Also
- Class String
- Typedef SharedPtr
- Class GraphicsAbsorber
- Typedef Predicate
- Class GraphicElement
- Class Page
- Class SvgExtractor
- Namespace Aspose::Pdf::Vector
- Library Aspose.PDF for C++
SvgExtractor::Extract(const System::SharedPtr<GraphicsAbsorber>&, System::Predicate<System::SharedPtr<GraphicElement>>, const System::SharedPtr<Page>&, const System::String&) method
Exracts svg image to file from graphic elements represents by absorber with a predicate filter.
void Aspose::Pdf::Vector::SvgExtractor::Extract(const System::SharedPtr<GraphicsAbsorber> &absorber, System::Predicate<System::SharedPtr<GraphicElement>> filter, const System::SharedPtr<Page> &page, const System::String &svgFilePath)
| Parameter | Type | Description |
|---|---|---|
| absorber | const System::SharedPtr<GraphicsAbsorber>& | The GraphicsAbsorber object that contains the graphic elements. |
| filter | System::Predicate<System::SharedPtr<GraphicElement>> | A predicate function used to filter the graphic elements. |
| page | const System::SharedPtr<Page>& | The page where the absorber gets graphic elements. |
| svgFilePath | const System::String& | The target SVG file path. |
See Also
- Typedef SharedPtr
- Class GraphicsAbsorber
- Typedef Predicate
- Class GraphicElement
- Class Page
- Class String
- Class SvgExtractor
- Namespace Aspose::Pdf::Vector
- Library Aspose.PDF for C++
SvgExtractor::Extract(const System::SharedPtr<Page>&) method
Extracts Svg images from a page to strings.
System::SharedPtr<System::Collections::Generic::List<System::String>> Aspose::Pdf::Vector::SvgExtractor::Extract(const System::SharedPtr<Page> &page)
| Parameter | Type | Description |
|---|---|---|
| page | const System::SharedPtr<Page>& | The page to extract. |
ReturnValue
The list of SVG content strings.
See Also
- Typedef SharedPtr
- Class List
- Class String
- Class Page
- Class SvgExtractor
- Namespace Aspose::Pdf::Vector
- Library Aspose.PDF for C++
SvgExtractor::Extract(const System::SharedPtr<Page>&, const System::String&) method
Extracts Svg images from a page to files.
void Aspose::Pdf::Vector::SvgExtractor::Extract(const System::SharedPtr<Page> &page, const System::String &directory)
| Parameter | Type | Description |
|---|---|---|
| page | const System::SharedPtr<Page>& | The page to extract. |
| directory | const System::String& | The target directory to place SVG images. |
See Also
- Typedef SharedPtr
- Class Page
- Class String
- Class SvgExtractor
- Namespace Aspose::Pdf::Vector
- Library Aspose.PDF for C++
SvgExtractor::Extract(const System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<GraphicElement>>>&, const System::SharedPtr<Page>&) method
Extracts graphic elements into a SVG string. Options ignored - grouping, extracting from rectangle.
System::String Aspose::Pdf::Vector::SvgExtractor::Extract(const System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<GraphicElement>>> &elements, const System::SharedPtr<Page> &page)
| Parameter | Type | Description |
|---|---|---|
| elements | const System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<GraphicElement>>>& | The graphic elements to convert. |
| page | const System::SharedPtr<Page>& | The page where the absorber gets graphic elements. |
ReturnValue
The string with SVG content.
See Also
- Class String
- Typedef SharedPtr
- Class IEnumerable
- Class GraphicElement
- Class Page
- Class SvgExtractor
- Namespace Aspose::Pdf::Vector
- Library Aspose.PDF for C++
SvgExtractor::Extract(const System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<GraphicElement>>>&, const System::SharedPtr<Page>&, const System::String&) method
Extracts graphic elements into a single SVG file. Options ignored - grouping, extracting from rectangle.
void Aspose::Pdf::Vector::SvgExtractor::Extract(const System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<GraphicElement>>> &elements, const System::SharedPtr<Page> &page, const System::String &svgFilePath)
| Parameter | Type | Description |
|---|---|---|
| elements | const System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<GraphicElement>>>& | The graphic elements to convert. |
| page | const System::SharedPtr<Page>& | The page where the absorber gets graphic elements. |
| svgFilePath | const System::String& | The target SVG file path. |
See Also
- Typedef SharedPtr
- Class IEnumerable
- Class GraphicElement
- Class Page
- Class String
- Class SvgExtractor
- Namespace Aspose::Pdf::Vector
- Library Aspose.PDF for C++