PageLabel Class Documentation
class PageLabel : SystemIDisposableNamespace:Datalogics::PDFL
- Inherits from:
SystemIDisposable
Detailed Description
Describes numbering labels for a range of pages.
PageLabel describes how to construct a label string for a range of pages. It contains information on number style, any prefixes, and a starting position within the document.
Note that a single PageLabel describes the label string for several pages all pages up until the first page covered by the next PageLabel, or the end of the document.
Also note that if a Document has any PageLabels, there must be one that starts at page index 0. This will be automatically created if the user does not supply one.
Uses types
Constructor & Destructor Documentation
PageLabel
PageLabel(int start, NumberStyle ns)Parameters
start: intStarting page index in the Document for this range
ns: NumberStyleNumbering style for this range
Convenience constructor creates a range with no prefix starting with number 1.
PageLabel
PageLabel(int start, NumberStyle ns, string p, int first)Parameters
start: intStarting page index in the Document for this range
ns: NumberStyleNumbering style for this range
p: stringPrefix string for this range
first: intFirst number appearing on a page in this range
Public constructor
Property Documentation
EndPageIndex
int EndPageIndex[get]FirstNumberInRange
int FirstNumberInRange[get, set]NumberStyle
NumberStyle NumberStyle[get, set]Prefix
string Prefix[get, set]StartPageIndex
int StartPageIndex[get, set]Member Function Documentation
Dispose
void Dispose()Returns:
voidToString
override string ToString()Returns:
override stringA string describing this PageLabel.
Returns a string representation of this PageLabel.
The string includes the start page, end page, number style, prefix, and first page number of this label range.