BatesNArtifact
Overview
BatesNArtifact is a class in Aspose.PDF FOSS for .NET.
Inherits from: PaginationArtifact.
A Bates-numbering pagination artifact: a zero-padded running number with optional prefix and suffix.
This class declares 1 method for BatesNArtifact objects in .NET programs.
Available methods include: BatesNArtifact.
Public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: ArtifactHorizontalAlignment, ArtifactVerticalAlignment, BottomMargin, EndPage, LeftMargin, NumberOfDigits, and 8 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Prefix | string | Read/Write | Text prepended to the number. |
Suffix | string | Read/Write | Text appended after the number. |
StartNumber | int | Read/Write | The number stamped on the first included page. |
NumberOfDigits | int | Read/Write | Zero-padded width of the number. |
ArtifactHorizontalAlignment | HorizontalAlignment | Read/Write | Horizontal placement of the stamped text. |
ArtifactVerticalAlignment | VerticalAlignment | Read/Write | Vertical placement of the stamped text. |
Subset | Subset | Read/Write | Which pages inside the range receive the artifact. |
StartPage | int | Read/Write | First page (1-based) that receives the artifact. |
EndPage | int | Read/Write | Last page (1-based) that receives the artifact. |
TextState | TextState | Read/Write | Text styling for the stamped number (font, size, colour). |
LeftMargin | double | Read/Write | Distance of left-aligned text from the page’s left edge, in points. |
RightMargin | double | Read/Write | Distance of right-aligned text from the page’s right edge, in points. |
TopMargin | double | Read/Write | Distance of top-aligned text’s baseline from the page’s top edge, in points. |
BottomMargin | double | Read/Write | Distance of bottom-aligned text from the page’s bottom edge, in points. |
Methods
| Signature | Description |
|---|---|
BatesNArtifact() | Creates a Bates-numbering artifact that starts at 1 with six digits and no prefix or suffix. |