Skip to main content
Version: API v2 Preview

Orientation

Kind: enum
Module/package: com.pdfdancer.common.model
SDK: com.pdfdancer.client:pdfdancer-client-java 2.0.0

Enumeration of page orientations.

Declaration

public final class com.pdfdancer.common.model.Orientation extends java.lang.Enum<com.pdfdancer.common.model.Orientation>

Members

LANDSCAPE

public static final com.pdfdancer.common.model.Orientation LANDSCAPE

Landscape orientation (width > height)

PORTRAIT

public static final com.pdfdancer.common.model.Orientation PORTRAIT

Portrait orientation (height > width)

valueOf

public static com.pdfdancer.common.model.Orientation valueOf(java.lang.String)

Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)

values

public static com.pdfdancer.common.model.Orientation[] values()

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

View source at 9c04036fe114