Table of Contents

Property PageNumberAt

Namespace
DocWright.Dom.Fields
Assembly
DocWright.Dom.dll

PageNumberAt

Gets or sets what page number a position of the body is laid out on (the text of that page's number), or null: an index (INDEX) then lists its entries without page numbers. An XE field has no bookmark, so this, not PageReference, gives its page. A host without its own map from positions to pages passes DocWright.Layout.LayoutPositions.PageNumbers(layout) over a layout made with source references.

public Func<DocumentPosition, string?>? PageNumberAt { get; set; }

Property Value

Func<DocumentPosition, string>