public class BatesNArtifact extends PaginationArtifact
Class describes Bates Numbering artifact.
Artifact.ArtifactSubtype, Artifact.ArtifactType
Constructor and Description |
---|
BatesNArtifact()
Initializes a new instance of the
BatesNArtifact class. |
Modifier and Type | Method and Description |
---|---|
int |
getNumberOfDigits()
Gets or sets the number of digits for Bates numbering.
|
String |
getPrefix()
Gets or sets the prefix to be added to the Bates number.
|
int |
getStartNumber()
Gets or sets the starting number for Bates numbering.
|
String |
getSuffix()
Gets or sets the suffix to be added to the Bates number.
|
void |
setNumberOfDigits(int value)
Gets or sets the number of digits for Bates numbering.
|
void |
setPrefix(String value)
Gets or sets the prefix to be added to the Bates number.
|
void |
setStartNumber(int value)
Gets or sets the starting number for Bates numbering.
|
void |
setSuffix(String value)
Gets or sets the suffix to be added to the Bates number.
|
getEndPage, getStartPage, getSubset, setEndPage, setStartPage, setSubset
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 BatesNArtifact()
Initializes a new instance of the BatesNArtifact
class.
This constructor is internal and creates a header artifact instance with default values.
public final int getNumberOfDigits()
Gets or sets the number of digits for Bates numbering. The value must be between 3 and 15 inclusive. If a value less than 3 is set, it will be adjusted to 3. If a value greater than 15 is set, it will be adjusted to 15. The default value is 6.
public final void setNumberOfDigits(int value)
Gets or sets the number of digits for Bates numbering. The value must be between 3 and 15 inclusive. If a value less than 3 is set, it will be adjusted to 3. If a value greater than 15 is set, it will be adjusted to 15. The default value is 6.
value
- int valuepublic final int getStartNumber()
Gets or sets the starting number for Bates numbering. 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 setStartNumber(int value)
Gets or sets the starting number for Bates numbering. 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 String getPrefix()
Gets or sets the prefix to be added to the Bates number.
public final void setPrefix(String value)
Gets or sets the prefix to be added to the Bates number.
value
- String valuepublic final String getSuffix()
Gets or sets the suffix to be added to the Bates number.
public final void setSuffix(String value)
Gets or sets the suffix to be added to the Bates number.
value
- String valueCopyright © 2025 Aspose. All Rights Reserved.