Table of Contents

Property Dictionary

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

Dictionary

Gets the low-level dictionary object that backs optional content in the document.

public CosDictionary? Dictionary { get; }

Property Value

CosDictionary

The underlying low-level dictionary, or null if no such dictionary exists.

Remarks

This property is null when the underlying low-level dictionary has not yet been created. The Layers collection and DefaultConfig properties remain available in that state, allowing you to populate them. When you modify either the collection or configuration properties, the low-level dictionary is created automatically.

Do not modify the low-level dictionary unless you fully understand the implications for the PDF structure.

Exceptions

UnexpectedStructureException

Thrown when the corresponding value in the internal PDF structure has an unexpected type.