DefaultState

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

All Implemented Interfaces: Serializable, Comparable < DefaultState >

public enum DefaultState extends Enum < DefaultState >

Represents the default state of a PDF layer.

Fields

FieldDescription
HiddenThe default state is hidden.
VisibleThe default state is visible.

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.

Hidden

public static final DefaultState Hidden

The default state is hidden.

Visible

public static final DefaultState Visible

The default state is visible.

getByValue

public static DefaultState 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 DefaultState [] 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