Aspose::Pdf::PageExtensions::DuplicateIntersectingGraphics method

PageExtensions::DuplicateIntersectingGraphics method

Finds all vector graphic elements that intersect with the specified region and creates their copies with offset from original positions.

static void Aspose::Pdf::PageExtensions::DuplicateIntersectingGraphics(System::SharedPtr<Page> page, System::SharedPtr<Rectangle> region, double deltaX, double deltaY)
ParameterTypeDescription
pageSystem::SharedPtr<Page>The page where graphic elements are searched and copied to.
regionSystem::SharedPtr<Rectangle>The rectangular region to search for intersecting elements.
deltaXdoubleOffset along the X axis for copied elements.
deltaYdoubleOffset along the Y axis for copied elements.

Remarks

This method works only with vector graphics (lines, shapes, Bezier curves, etc.). Raster images and other types of elements are not processed. Each copied element will be shifted by the specified dx and dy values relative to its original position. The original elements remain unchanged.

See Also