共用方式為


DocumentPageLengthUnit Class

public final class DocumentPageLengthUnit
extends ExpandableStringEnum<DocumentPageLengthUnit>

Defines values for DocumentPageLengthUnit.

Field Summary

Modifier and Type Field and Description
static final DocumentPageLengthUnit INCH

Static value inch for DocumentPageLengthUnit.

static final DocumentPageLengthUnit PIXEL

Static value pixel for DocumentPageLengthUnit.

Constructor Summary

Constructor Description
DocumentPageLengthUnit()

Deprecated

Use the fromString(String name) factory method.

Creates a DocumentPageLengthUnit object.

Method Summary

Modifier and Type Method and Description
static DocumentPageLengthUnit fromString(String name)

Creates or finds a DocumentPageLengthUnit from its string representation.

static Collection<DocumentPageLengthUnit> values()

Returns known DocumentPageLengthUnit values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

INCH

public static final DocumentPageLengthUnit INCH

Static value inch for DocumentPageLengthUnit.

PIXEL

public static final DocumentPageLengthUnit PIXEL

Static value pixel for DocumentPageLengthUnit.

Constructor Details

DocumentPageLengthUnit

@Deprecated
public DocumentPageLengthUnit()

Deprecated

Use the fromString(String name) factory method.

Creates a DocumentPageLengthUnit object.

Method Details

fromString

public static DocumentPageLengthUnit fromString(String name)

Creates or finds a DocumentPageLengthUnit from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding DocumentPageLengthUnit.

values

public static Collection values()

Returns known DocumentPageLengthUnit values.

Returns:

known DocumentPageLengthUnit values.

Applies to