Table of Contents

Class PdfPageLabelMap

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

Represents an enumerable collection of PdfPageLabel objects associated with page indices and exposed as PdfPageLabelEntry instances.

public sealed class PdfPageLabelMap : IEnumerable<PdfPageLabelEntry>, IEnumerable
Inheritance
PdfPageLabelMap
Implements
Inherited Members

Remarks

Each PdfPageLabelEntry associates the zero-based index of the first page in a labeling range with a PdfPageLabel that defines the numbering style and other labeling properties for pages in that range.

This collection is returned by the PageLabels property.

See the Page labels section to learn how to assign custom page numbers and names in a PDF document.

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

Properties

this[int]

Gets the PdfPageLabel associated with the specified first-page index.

Methods

Add(int, PdfPageNumberingStyle)

Adds a new labeling range with the specified first page index and numbering style to the PdfPageLabelMap.

Add(int, PdfPageNumberingStyle, string)

Adds a new labeling range with the specified first page index, numbering style, and label prefix to the PdfPageLabelMap.

Add(int, PdfPageNumberingStyle, string, int)

Adds a new labeling range with the specified first page index, numbering style, label prefix, and starting number to the PdfPageLabelMap.

Clear()

Removes all labeling ranges from the PdfPageLabelMap.

Contains(int)

Determines whether the collection contains an entry with the specified first-page index.

GetEnumerator()

Returns an enumerator that iterates through the collection of page labeling range entries.

Remove(int)

Removes the labeling range with the specified first-page index from the collection.