|
Gets a resource from the resources dictionary.
Resources are cached for fast lookup of repeated requests.
The ResourceType enumeration may take the following values:
- ExtGState - External graphics states.
- ColorSpace - Color space for graphics.
- Pattern - Pattern for filling areas.
- Shading - Shading type for filling areas.
- XObject - Encapsulated image in raster or vector form.
- Font - Font typeface for drawing text.
- ProcSet - Predefined procedure sets. This property is
deprecated in the PDF specification.
- Properties - Marked content properties.
You do not have to specify a page and for almost all modern PDF
documents it is unnecessary. However, while it strongly discourages
it, the PDF specification allows Form XObjects to reference
resources on the current Page rather than in the Form XObject
itself. So for absolute correctness it is a good idea.
|