GraphicsAbsorber

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

NameTypeAccessDescription
ElementsGraphicElementCollectionReadThe extracted vector elements (populated by Visit).

Methods

SignatureDescription
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.

See Also

 English