public abstract class PaginationArtifact extends Artifact
Represents an abstract base class for pagination artifacts in a document.
Artifact.ArtifactSubtype, Artifact.ArtifactType
Modifier and Type | Method and Description |
---|---|
int |
getEndPage()
Gets or sets the ending page number for the artifact.
|
int |
getStartPage()
Gets or sets the starting page number for the artifact.
|
int |
getSubset()
Gets or sets the subset of pages to which the artifact applies (e.g., all pages, even pages, odd pages).
|
void |
setEndPage(int value)
Gets or sets the ending page number for the artifact.
|
void |
setStartPage(int value)
Gets or sets the starting page number for the artifact.
|
void |
setSubset(int value)
Gets or sets the subset of pages to which the artifact applies (e.g., all pages, even pages, odd pages).
|
beginUpdates, close, dispose, getArtifactHorizontalAlignment, getArtifactVerticalAlignment, getBottomMargin, getContents, getCustomSubtype, getCustomType, getForm, getImage, getLeftMargin, getLines, getOpacity, getPosition, getRectangle, getRightMargin, getRotation, getSubtype, getText, getTextState, getTopMargin, getType, getValue, isBackground, removeValue, saveUpdates, setArtifactHorizontalAlignment, setArtifactVerticalAlignment, setBackground, setBottomMargin, setCustomSubtype, setCustomType, setImage, setImage, setLeftMargin, setLinesAndState, setOpacity, setPageNumberReplacementString, setPdfPage, setPosition, setRightMargin, setRotation, setSubtype, setText, setText, setTextAndState, setTextState, setTopMargin, setType, setValue
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.
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.
value
- int valuepublic 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.
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.
value
- int valuepublic final int getSubset()
Gets or sets the subset of pages to which the artifact applies (e.g., all pages, even pages, odd pages).
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).
value
- int valueCopyright © 2025 Aspose. All Rights Reserved.