public enum PageCoordinateType extends Enum<PageCoordinateType>
Describes page coordinate type.
MediaBox = 0Enum Constant and Description |
---|
CropBox
The CropBox defines the region to which the page contents are to be clipped.
|
MediaBox
The MediaBox is used to specify the width and height of the page.
|
Modifier and Type | Method and Description |
---|---|
static PageCoordinateType |
getByValue(int value) |
int |
getValue() |
static PageCoordinateType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PageCoordinateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PageCoordinateType MediaBox
The MediaBox is used to specify the width and height of the page. For the average user, this probably equals the actual page size. The MediaBox is the largest page box in a PDF. The other page boxes can equal the size of the MediaBox but they cannot be larger.
public static final PageCoordinateType CropBox
The CropBox defines the region to which the page contents are to be clipped. Acrobat uses this size for screen display and printing.
public static PageCoordinateType[] values()
for (PageCoordinateType c : PageCoordinateType.values()) System.out.println(c);
public static PageCoordinateType 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()
public static PageCoordinateType getByValue(int value)
Copyright © 2025 Aspose. All Rights Reserved.