GetImage(String) Method

Definition

Namespace Broadside
Assembly Broadside.dll

Returns the image XObject the page's resources name resourceName, as the Do operator paints it.

public PdfImage? GetImage(string resourceName)

Parameters

resourceName
String

The key in the XObject subdictionary of the page's (possibly inherited) resource dictionary, without the slash.

Returns

PdfImage
The image view; null when the resources have no XObject of that name or it is not an image.

Remarks

ISO 32000-2 §7.8.3, Table 34 (XObject), §8.8 and §8.9.5.