GetImage(CosObject?) Method

Definition

Namespace Broadside
Assembly Broadside.dll

Returns the image view over an image XObject of this document.

public PdfImage? GetImage(CosObject? image)

Parameters

image
CosObject

An image XObject stream, or a reference to one, such as a value of a resource dictionary's XObject subdictionary.

Returns

PdfImage
The view; null when image is not a stream, or is a stream whose Subtype names another kind of XObject. A stream without Subtype is read as an image (a thumbnail image has none, §12.3.4).

Remarks

ISO 32000-2 §8.9.5, Table 87.