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

MethodDescription
getEndPageGets 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.
getStartPageGets 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.
getSubsetGets or sets the subset of pages to which the artifact applies (e.g., all pages, even pages, odd pages).
setEndPageGets 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.
setStartPageGets 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.
setSubsetGets 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:

ParameterTypeDescription
valueint 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:

ParameterTypeDescription
valueint 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:

ParameterTypeDescription
valueint value