PageCoordinateType

Inheritance: java.lang.Object, java.lang.Enum < PageCoordinateType > com.aspose.pdf.PageCoordinateType, java.lang.Enum < PageCoordinateType >, com.aspose.pdf.PageCoordinateType

All Implemented Interfaces: Serializable, Comparable < PageCoordinateType >

public enum PageCoordinateType extends Enum < PageCoordinateType >

Describes page coordinate type. MediaBox = 0 CropBox = 1

Fields

FieldDescription
CropBoxThe CropBox defines the region to which the page contents are to be clipped.
MediaBoxThe MediaBox is used to specify the width and height of the page.

Methods

MethodDescription
getByValue
getValue
valueOfReturns the enum constant of this type with the specified name.
valuesReturns an array containing the constants of this enum type, in the order they are declared.

CropBox

public static final PageCoordinateType CropBox

The CropBox defines the region to which the page contents are to be clipped.

MediaBox

public static final PageCoordinateType MediaBox

The MediaBox is used to specify the width and height of the page.

getByValue

public static PageCoordinateType getByValue(int value)

Parameters:

ParameterTypeDescription
value

getValue

public int getValue()

valueOf

Returns the enum constant of this type with the specified name.

values

public static PageCoordinateType [] values()

Returns an array containing the constants of this enum type, in the order they are declared.

Returns: an array containing the constants of this enum type, in the order they are declared