Table of Contents

Field Count

Namespace
PdfSharp.Pdf
Assembly
PdfSharp.dll

(Required) The number of leaf nodes (page objects) that are descendants of this node within the page tree. NOTE Since the number of pages descendant from a Pages dictionary can be accurately determined by examining the tree itself using the Kids arrays, the Count entry is redundant. A PDF writer shall ensure that the value of the Count key is consistent with the number of entries in the Kids array and its descendants which definitively determines the number of descendant pages.

public const string Count = "/Count"

Returns

string
(Required) The number of leaf nodes (page objects) that are descendants of this node within the page tree. NOTE Since the number of pages descendant from a Pages dictionary can be accurately determined by examining the tree itself using the Kids arrays, the Count entry is redundant. A PDF writer shall ensure that the value of the Count key is consistent with the number of entries in the Kids array and its descendants which definitively determines the number of descendant pages.