public enum PrinterMarkCornerPosition extends Enum<PrinterMarkCornerPosition>
Represents a position of a mark in a corner of a page.
Enum Constant and Description |
---|
BottomLeft
Position the mark in the bottom left corner.
|
BottomRight
Position the mark in the bottom right corner.
|
TopLeft
Position the mark in the top left corner.
|
TopRight
Position the mark in the top right corner.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static PrinterMarkCornerPosition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrinterMarkCornerPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrinterMarkCornerPosition TopLeft
Position the mark in the top left corner.
public static final PrinterMarkCornerPosition TopRight
Position the mark in the top right corner.
public static final PrinterMarkCornerPosition BottomLeft
Position the mark in the bottom left corner.
public static final PrinterMarkCornerPosition BottomRight
Position the mark in the bottom right corner.
public static PrinterMarkCornerPosition[] values()
for (PrinterMarkCornerPosition c : PrinterMarkCornerPosition.values()) System.out.println(c);
public static PrinterMarkCornerPosition 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.