GraphicsAbsorber
Overview
GraphicsAbsorber is a class in Aspose.PDF FOSS for .NET.
Inherits from: IDisposable.
Extracts the painted vector sub-paths of a page as SubPath elements, each carrying its page-space bounding Rectangle, and Form XObject invocations as XFormPlacement elements whose children are extracted in form space.
This class declares 5 methods for GraphicsAbsorber objects in .NET programs.
Available methods include: Dispose, GraphicsAbsorber, ResumeUpdate, SuppressUpdate, Visit.
Public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: Elements.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Elements | GraphicElementCollection | Read | The extracted vector elements (populated by Visit). |
Methods
| Signature | Description |
|---|---|
GraphicsAbsorber() | Creates a graphics absorber with an empty Elements collection. |
Dispose() | Releases what the absorber holds: its elements and the page snapshot they edit. |
Visit(page: Page) | Extract the painted sub-paths and form placements of page. |
SuppressUpdate() | Defer source-page rewrites while a batch of element edits runs; ResumeUpdate applies them in one pass. |
ResumeUpdate() | Re-enable source-page rewrites and apply any deferred edits. |