Class OrientationKind

class ooodev.utils.kind.orientation_kind.OrientationKind(value)[source]

Specifies the orientation of the control.

static from_str(s)[source]

Gets an OrientationKind instance from string.

Parameters:

s (str) – String that represents the name of an enum Name.

Raises:
  • ValueError – If input string is empty.

  • AttributeError – If unable to get OrientationKind instance.

Returns:

Enum instance.

Return type:

OrientationKind

HORIZONTAL = 0

Horizontal orientation

VERTICAL = 1

Vertical orientation