Table of Contents

Class PdfXObjectMap

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

Represents a collection of named XObjects.

public sealed class PdfXObjectMap : IEnumerable<PdfXObjectEntry>, IEnumerable
Inheritance
PdfXObjectMap
Implements
Inherited Members

Remarks

The collection exposes its items as PdfXObjectEntry instances, each associating a name with an optional PdfXObject.

Use this collection to enumerate, retrieve, and remove named XObjects. The collection is returned by the XObjects property.

To add a new XObject to the collection, draw the object on the page's canvas using one of the DrawXObject overloads. The object will be added to the collection automatically.

For articles, guides, and code samples, see the Docotic.Pdf Library Documentation.

Properties

this[string]

Gets the XObject associated with the specified name.

Methods

Clear()

Removes all XObjects from the collection.

Contains(string)

Determines whether the collection contains an XObject with the specified name.

GetEnumerator()

Returns an enumerator that iterates through the collection of XObject entries.

Remove(string)

Removes the XObject with the specified name from the collection.