Resources
Overview
Resources is a class in Aspose.PDF FOSS for .NET.
Inherits from: PageResources.
Type alias for PageResources, matching the Resources class name.
This class provides 3 methods for working with Resources objects in .NET programs.
Available methods include: FreeMemory, GetExtGStates, GetFonts.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: Fonts, Forms, Images.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Fonts | FontCollection | Read | Font resources (re-declared so reflection sees the member on Resources). |
Images | XImageCollection | Read | Image resources (re-declared so reflection sees the member on Resources). |
Forms | XFormCollection | Read | XForm resources (re-declared so reflection sees the member on Resources). |
Methods
| Signature | Description |
|---|---|
GetFonts(CreateIfAbsent: bool) | Font collection accessor — CreateIfAbsent is honoured; a live collection is always returned. |
GetExtGStates() | Enumerate every /ExtGState entry on this page’s resources as a name→value map. |
FreeMemory() | Free resource-cache memory. |