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 TextFrameEx object for the AutoShapeEx.
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_thumbnail
get_thumbnail
get_image
get_image
write_as_svg
write_as_svg
add_text_frameAdds a new TextFrameEx to a shape.
If shape already has TextFrameEx then simply changes its text.
get_geometry_paths
set_geometry_path
set_geometry_paths
create_shape_elements
add_placeholder
remove_placeholder
get_base_placeholder

See Also