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)
Parameter | Type | Description |
---|---|---|
absorber | 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 | 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::Extraction
- Library Aspose.PDF for C++
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)
Parameter | Type | Description |
---|---|---|
absorber | 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 | System::SharedPtr<Page> | The page where the absorber gets graphic elements. |
svgFilePath | 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::Extraction
- Library Aspose.PDF for C++
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)
Parameter | Type | Description |
---|---|---|
page | 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::Extraction
- Library Aspose.PDF for C++
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)
Parameter | Type | Description |
---|---|---|
page | System::SharedPtr<Page> | The page to extract. |
directory | System::String | The target directory to place SVG images. |
See Also
- Typedef SharedPtr
- Class Page
- Class String
- Class SvgExtractor
- Namespace Aspose::Pdf::Vector::Extraction
- Library Aspose.PDF for C++
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)
Parameter | Type | Description |
---|---|---|
elements | System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<GraphicElement>>> | The graphic elements to convert. |
page | 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::Extraction
- Library Aspose.PDF for C++
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)
Parameter | Type | Description |
---|---|---|
elements | System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<GraphicElement>>> | The graphic elements to convert. |
page | System::SharedPtr<Page> | The page where the absorber gets graphic elements. |
svgFilePath | 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::Extraction
- Library Aspose.PDF for C++