public enum PrinterMarkSidePosition extends Enum<PrinterMarkSidePosition>
Represents a position of a registration mark on a page.
Enum Constant and Description |
---|
Bottom
Position the mark in the bottom margin of the page.
|
Left
Position the mark in the left margin of the page.
|
Right
Position the mark in the right margin of the page.
|
Top
Position the mark in the top margin of the page.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static PrinterMarkSidePosition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrinterMarkSidePosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrinterMarkSidePosition Top
Position the mark in the top margin of the page.
public static final PrinterMarkSidePosition Bottom
Position the mark in the bottom margin of the page.
public static final PrinterMarkSidePosition Left
Position the mark in the left margin of the page.
public static final PrinterMarkSidePosition Right
Position the mark in the right margin of the page.
public static PrinterMarkSidePosition[] values()
for (PrinterMarkSidePosition c : PrinterMarkSidePosition.values()) System.out.println(c);
public static PrinterMarkSidePosition valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
Copyright © 2025 Aspose. All Rights Reserved.