Connector

Overview

Connector is a class in Aspose.Slides FOSS for Python. Inherits from: GeometryShape, IConnector.

Represents a connector.

This class provides 2 methods for working with Connector objects in Python programs. Available methods include: __init__, reroute. All public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package. Properties: adjustments, alternative_text, alternative_text_title, as_i_geometry_shape, as_i_presentation_component, as_i_slide_component, and 31 more.

Properties

NameTypeAccessDescription
is_text_holderboolReadGets the is text holder.
placeholder``ReadGets the placeholder.
custom_data``ReadGets the custom data.
shape_styleIShapeStyleReadGets the shape style.
shape_typeShapeTypeRead/WriteReturns or sets the AutoShape type.
adjustmentsIAdjustValueCollectionReadGets the adjustments.
connector_lockIConnectorLockReadReturns connector’s locks.
start_shape_connected_toIShapeRead/WriteReturns or sets the shape to attach the beginning of the connector to.
end_shape_connected_toIShapeRead/WriteReturns or sets the shape to attach the end of the connector to.
start_shape_connection_site_indexintRead/WriteReturns or sets the index of connection site for start shape.
end_shape_connection_site_indexintRead/WriteReturns or sets the index of connection site for end shape.
as_i_geometry_shapeIGeometryShapeReadGets the as i geometry shape.
raw_frameIShapeFrameRead/WriteReturns or sets the raw shape frame’s properties.
frameIShapeFrameRead/WriteReturns or sets the shape frame’s properties.
line_formatILineFormatReadReturns the LineFormat object that contains line formatting properties for a shape.
three_d_formatIThreeDFormatReadReturns the ThreeDFormat object that 3d effect properties for a shape.
effect_formatIEffectFormatReadReturns the EffectFormat object which contains pixel effects applied to a shape.
fill_formatIFillFormatReadReturns the FillFormat object that contains fill formatting properties for a shape.
hiddenboolRead/WriteDetermines whether the shape is hidden.
z_order_positionintReadReturns the position of a shape in the z-order.
connection_site_countintReadReturns the number of connection sites on the shape.
rotationfloatRead/WriteReturns or sets the number of degrees the specified shape is rotated around the z-axis.
xfloatRead/WriteGets or sets the x-coordinate of the shape’s upper-left corner, measured in points.
yfloatRead/WriteGets or sets the y-coordinate of the shape’s upper-left corner, measured in points.
widthfloatRead/WriteGets or sets the width of the shape, measured in points.
heightfloatRead/WriteGets or sets the height of the shape, measured in points.
unique_idintReadReturns an internal, presentation-scoped identifier intended for use by add-ins or other code.
office_interop_shape_idintReadReturns a slide-scoped unique identifier that remains constant for the lifetime of the shape and lets PowerPoint or interop code reliably reference the shape from anywhere in the document.
alternative_textstrRead/WriteReturns or sets the alternative text associated with a shape.
alternative_text_titlestrRead/WriteReturns or sets the title of alternative text associated with a shape.
namestrRead/WriteReturns or sets the name of a shape.
is_decorativeboolRead/WriteGets or sets ‘Mark as decorative’ option Reed/write .
is_groupedboolReadDetermines whether the shape is grouped.
slideIBaseSlideReadReturns the parent slide of a shape.
presentationIPresentationReadReturns the parent presentation of a slide.
as_i_slide_componentISlideComponentReadGets the as i slide component.
as_i_presentation_componentIPresentationComponentReadGets the as i presentation component.

Methods

SignatureDescription
reroute()Recalculates connector bounding box based on connected shapes.
__init__()Initialize an empty shape.

See Also