Skip to content

PDFStructureTree.MapObjectReference Method

Overloads

Name Description
MapObjectReference(PDFImage,PDFStructureElement) Adds a mapping between an image and a structure element.
MapObjectReference(PDFFormXObject,PDFStructureElement) Adds a mapping between a form XObject and a structure element.
MapObjectReference(PDFAnnotation,PDFStructureElement) Adds a mapping between an annotation and a structure element.

MapObjectReference(PDFImage,PDFStructureElement)

Adds a mapping between an image and a structure element.

C#
public void MapObjectReference(PDFImage image, PDFStructureElement structureElement)

Parameters

image PDFImage

The image that acts as a content item for the structure element.

structureElement PDFStructureElement

The structure element that has a PDFObjectReference as children, object reference that points to the image.

Remarks

This method needs to be called when a structure element uses an entire PDF object as content item through a PDFObjectReference.

MapObjectReference(PDFFormXObject,PDFStructureElement)

Adds a mapping between a form XObject and a structure element.

C#
public void MapObjectReference(PDFFormXObject formXObject, PDFStructureElement structureElement)

Parameters

formXObject PDFFormXObject

The form XObject that acts as a content item for the structure element.

structureElement PDFStructureElement

The structure element that has a PDFObjectReference as children, object reference that points to the form XObject.

Remarks

This method needs to be called when a structure element uses an entire PDF object as content item through a PDFObjectReference.

MapObjectReference(PDFAnnotation,PDFStructureElement)

Adds a mapping between an annotation and a structure element.

C#
public void MapObjectReference(PDFAnnotation annotation, PDFStructureElement structureElement)

Parameters

annotation PDFAnnotation

The annotation that acts as a content item for the structure element.

structureElement PDFStructureElement

The structure element that has a PDFObjectReference as child, object reference that points to the annotation.

Remarks

This method needs to be called when a structure element uses an entire PDF object, such as an annotation, as content item through a PDFObjectReference.