Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 562 Bytes

File metadata and controls

33 lines (22 loc) · 562 Bytes

MSO_CONNECTOR_TYPE

Specifies a type of connector.

Alias: MSO_CONNECTOR

Example:

from pptx.enum.shapes import MSO_CONNECTOR
from pptx.util import Cm

shapes = prs.slides[0].shapes
connector = shapes.add_connector(
    MSO_CONNECTOR.STRAIGHT, Cm(2), Cm(2), Cm(10), Cm(10)
)
assert connector.left.cm == 2

CURVE
Curved connector.
ELBOW
Elbow connector.
STRAIGHT
Straight line connector.
MIXED
Return value only; indicates a combination of other states.