Skip to content

# PDFDisplayImageXObjectOperator

Namespace: O2S.Components.PDF4NET.Graphics.Operators

Defines the Do (display image XObject) content stream operator.

    public class PDFDisplayImageXObjectOperator : PDFContentStreamOperator

Inheritance Object → PDFContentStreamOperator → PDFDisplayImageXObjectOperator

## Constructors

### PDFDisplayImageXObjectOperator()

Initializes a new PDFDisplayImageXObjectOperator object.

    public PDFDisplayImageXObjectOperator()

### PDFDisplayImageXObjectOperator(PDFCosName)

Initializes a new PDFDisplayImageXObjectOperator object.

    public PDFDisplayImageXObjectOperator(PDFCosName imageID)

Parameters

`imageID` PDFCosName
The image ID in the /Resources dictionary.

## Properties

### Context

Gets the content stream container from which the operator is extracted.

    public PDFContentStreamContainer Context { get; internal set; }

Property Value

PDFContentStreamContainer
A content stream container object, a PDFPage or a PDFFormXObject.

### Image

Gets the image painted by this operator.

    public PDFVisualImage Image { get; }

Property Value

PDFVisualImage
The decoded image object.

### ImageID

Gets or sets the image ID.

    public PDFCosName ImageID { get; set; }

Property Value

PDFCosName
The image ID in the /Resources dictionary.

### ImageVisualObject

Gets the visual image painted by this operator.

    public PDFImageVisualObject ImageVisualObject { get; }

Property Value

PDFImageVisualObject
A PDFImageVisualObject that describes the image painted by this operator.

Remarks

This property is set only when the PDFPageTransform.EnableExtendedOperatorInformation property is set to true on the object that processes this operator.

### OpCode

Gets the operator code.

    public string OpCode { get; }

Property Value

String
The operator code as it is written in the content stream.

### Type

Gets or sets the operator type.

    public PDFContentStreamOperatorType Type { get; set; }

Property Value

PDFContentStreamOperatorType
The type of this operator.