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

NameTypeAccessDescription
FontsFontCollectionReadFont resources (re-declared so reflection sees the member on Resources).
ImagesXImageCollectionReadImage resources (re-declared so reflection sees the member on Resources).
FormsXFormCollectionReadXForm resources (re-declared so reflection sees the member on Resources).

Methods

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

See Also