PaginationArtifact
Inheritance: java.lang.Object, com.aspose.pdf.Artifact com.aspose.pdf.PaginationArtifact, com.aspose.pdf.Artifact, com.aspose.pdf.PaginationArtifact
All Implemented Interfaces: com.aspose.ms.System.IDisposable, Closeable, AutoCloseable
public abstract class PaginationArtifact extends Artifact
Represents an abstract base class for pagination artifacts in a document.
Methods
| Method | Description |
|---|---|
| getEndPage | Gets or sets the ending page number for the artifact. The value must be greater than or equal to 0. If a value less than 0 is set, it will be adjusted to 0. The default value of 0 means there are no end page boundaries. |
| getStartPage | Gets or sets the starting page number for the artifact. The value must be greater than or equal to 1. If a value less than 1 is set, it will be adjusted to 1. |
| getSubset | Gets or sets the subset of pages to which the artifact applies (e.g., all pages, even pages, odd pages). |
| setEndPage | Gets or sets the ending page number for the artifact. The value must be greater than or equal to 0. If a value less than 0 is set, it will be adjusted to 0. The default value of 0 means there are no end page boundaries. |
| setStartPage | Gets or sets the starting page number for the artifact. The value must be greater than or equal to 1. If a value less than 1 is set, it will be adjusted to 1. |
| setSubset | Gets or sets the subset of pages to which the artifact applies (e.g., all pages, even pages, odd pages). |
getEndPage
public final int getEndPage()
Gets or sets the ending page number for the artifact. The value must be greater than or equal to 0. If a value less than 0 is set, it will be adjusted to 0. The default value of 0 means there are no end page boundaries.
Returns: int value
getStartPage
public final int getStartPage()
Gets or sets the starting page number for the artifact. The value must be greater than or equal to 1. If a value less than 1 is set, it will be adjusted to 1.
Returns: int value
getSubset
public final int getSubset()
Gets or sets the subset of pages to which the artifact applies (e.g., all pages, even pages, odd pages).
Returns: int value
setEndPage
public final void setEndPage(int value)
Gets or sets the ending page number for the artifact. The value must be greater than or equal to 0. If a value less than 0 is set, it will be adjusted to 0. The default value of 0 means there are no end page boundaries.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int value |
setStartPage
public final void setStartPage(int value)
Gets or sets the starting page number for the artifact. The value must be greater than or equal to 1. If a value less than 1 is set, it will be adjusted to 1.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int value |
setSubset
public final void setSubset(int value)
Gets or sets the subset of pages to which the artifact applies (e.g., all pages, even pages, odd pages).
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int value |