PdfPageLabel Class
The labelling of a range of pages (ISO 32000-2, 12.4.2): a numbering style, a prefix and the number of its first page.
public sealed class PdfPageLabel : IEquatable<PdfPageLabel>- Implements
Constructors
| Name | Description |
|---|---|
| PdfPageLabel(PdfPageLabelStyle, string?, int) | Initializes a new instance of the PdfPageLabel class. |
PdfPageLabel(PdfPageLabelStyle, string?, int)
PdfPageLabel.csInitializes a new instance of the PdfPageLabel class.
public PdfPageLabel(PdfPageLabelStyle style, string? prefix = null, int startNumber = 1)Parameters
stylePdfPageLabelStyle- The numbering style.
prefixstring?- The text before the number, or
null. startNumberint- The number of the first page of the range, 1 or more.
Exceptions
ArgumentOutOfRangeExceptionstartNumberis less than 1.
Properties
| Name | Description |
|---|---|
| Prefix | Gets the text before the number, or null. |
| StartNumber | Gets the number of the first page of the range. |
| Style | Gets the numbering style. |
Prefix
PdfPageLabel.csStartNumber
PdfPageLabel.csStyle
PdfPageLabel.csMethods
| Name | Description |
|---|---|
| Equals(PdfPageLabel?) | |
| Equals(object?) | |
| GetHashCode() | |
| GetLabel(int) | Gets the label of a page of the range. |
| ToString() |
Equals overloads
Equals(PdfPageLabel?)
public bool Equals(PdfPageLabel? other)No documentation is available.
Equals(object?)
GetHashCode()
GetLabel(int)
PdfPageLabel.csToString()
Operators
| Name | Description |
|---|---|
| operator ==(PdfPageLabel?, PdfPageLabel?) | |
| operator !=(PdfPageLabel?, PdfPageLabel?) |
operator ==(PdfPageLabel?, PdfPageLabel?)
public static bool operator ==(PdfPageLabel? left, PdfPageLabel? right)No documentation is available.
operator !=(PdfPageLabel?, PdfPageLabel?)
public static bool operator !=(PdfPageLabel? left, PdfPageLabel? right)No documentation is available.