XmpCropUnit

Contents
[ ]

Inheritance: java.lang.Object, java.lang.Enum

All Implemented Interfaces: com.groupdocs.metadata.core.IEnumValue

public enum XmpCropUnit extends Enum<XmpCropUnit> implements IEnumValue

Represent a unit for CropWidth and CropHeight in XmpCameraRawPackage .

Fields

Field Description
Pixels Pixels units.
Inches Inches units.
Cm Centimeters units.

Methods

Method Description
values()
valueOf(String name)
getByRawValue(int rawValue)
getFirst()
getAllValues()
getEnumValueByRawValue(int rawValue)
getEnumValueByName(String name)
getRawValueType()
getRawValue()

Pixels

public static final XmpCropUnit Pixels

Pixels units.

Inches

public static final XmpCropUnit Inches

Inches units.

Cm

public static final XmpCropUnit Cm

Centimeters units.

values()

public static XmpCropUnit[] values()

Returns: com.groupdocs.metadata.core.XmpCropUnit[]

valueOf(String name)

public static XmpCropUnit valueOf(String name)

Parameters:

Parameter Type Description
name java.lang.String

Returns: XmpCropUnit

getByRawValue(int rawValue)

public static XmpCropUnit getByRawValue(int rawValue)

Parameters:

Parameter Type Description
rawValue int

Returns: XmpCropUnit

getFirst()

public static IEnumValue getFirst()

Returns: IEnumValue

getAllValues()

public Object[] getAllValues()

Returns the array of all values defined in the class.

Returns: java.lang.Object[]

getEnumValueByRawValue(int rawValue)

public IEnumValue getEnumValueByRawValue(int rawValue)

Returns the enumeration value by the raw value associated with it.

Parameters:

Parameter Type Description
rawValue int

Returns: IEnumValue

getEnumValueByName(String name)

public IEnumValue getEnumValueByName(String name)

Returns the enumeration value by its name.

Parameters:

Parameter Type Description
name java.lang.String

Returns: IEnumValue

getRawValueType()

public RawIntegerType getRawValueType()

Returns the underlying type of the raw value of this enumeration value.

Returns: RawIntegerType

getRawValue()

public int getRawValue()

Returns the raw value of this enumeration value.

Returns: int