IAutoShape class

IAutoShape class

Represents an AutoShape.

The IAutoShape type exposes the following members:

Properties

PropertyDescription
shape_lockReturns shape’s locks.
Read-only IAutoShapeLock.
auto_shape_lockReturns AutoShape’s locks.
Read-only IAutoShapeLock.
text_frameReturns TextFrame object for the AutoShape.
Read-only ITextFrame.
use_background_fillDetermines whether this autoshape should be filled with slide’s background fill instead of specified by style or fill format.
Read/write bool.
is_text_boxSpecifies if the shape is a text box.
shape_style
shape_type
adjustments
is_text_holder
placeholder
custom_data
raw_frame
frame
line_format
three_d_format
effect_format
fill_format
hidden
z_order_position
connection_site_count
rotation
x
y
width
height
alternative_text
alternative_text_title
name
is_decorative
unique_id
office_interop_shape_id
is_grouped
black_white_mode
parent_group
slide
presentation
hyperlink_click
hyperlink_mouse_over
hyperlink_manager

Methods

MethodDescription
get_image(self)
get_image(self, bounds, scale_x, scale_y)
write_as_svg(self, stream)
write_as_svg(self, stream, svg_options)
add_text_frame(self, text)Adds a new TextFrame to a shape.
If shape already has TextFrame then simply changes its text.
get_geometry_paths(self)
set_geometry_path(self, geometry_path)
set_geometry_paths(self, geometry_paths)
create_shape_elements(self)
add_placeholder(self, placeholder_to_copy_from)
remove_placeholder(self)
get_base_placeholder(self)

See Also