VerticalOrigin module

class VerticalOrigin.VerticalOrigin(value)

Bases: Enum

Enum class for specifying the vertical origin of an object.

Margin

The object is aligned with the margin.

Page

The object is aligned with the page.

Paragraph

The object is aligned with the paragraph.

Line

The object is aligned with the line.

TopMarginArea

The object is aligned with the top margin area.

BottomMarginArea

The object is aligned with the bottom margin area.

InnerMarginArea

The object is aligned with the inner margin area.

OuterMarginArea

The object is aligned with the outer margin area.

TextFrameDefault

The object is aligned with the default text frame.

BottomMarginArea = 5
InnerMarginArea = 6
Line = 3
Margin = 0
OuterMarginArea = 7
Page = 1
Paragraph = 2
TextFrameDefault = 2
TopMarginArea = 4