Table of Contents

Property Last

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

Last

Gets the low-level dictionary referenced by the /Last key in the underlying dictionary that serves as the data source for this collection.

public CosDictionary? Last { get; }

Property Value

CosDictionary

The dictionary referenced by the /Last key, or null if no such dictionary exists.

Remarks

This property is null when the low-level dictionary has not yet been created. In the document outline case, it can also be null when the document does not contain an outline.

When the collection is modified, the low-level dictionary is created or repaired automatically as necessary.

This property and First are either both null or both non-null.

Do not modify the returned dictionary unless you fully understand the implications for the PDF structure.

Exceptions

UnexpectedStructureException

Thrown when the value associated with the /First key has an unexpected type.