IGeometryShape class

IGeometryShape class

Represents the parent class for all geometric shapes.

The IGeometryShape type exposes the following members:

Properties

PropertyDescription
shape_styleReturns shape’s style object.
Read-only IShapeStyle.
shape_typeReturns or sets the geometry preset type.
Note: on value changing all adjustment values will reset to their default values.
Read/write ShapeType.
adjustmentsReturns a collection of shape’s adjustment values.
Read-only IAdjustValueCollection.
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
shape_lock
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
get_geometry_pathsReturns the copy of path of the geometry shape. Coordinates are relative to the left top corner of the shape.
set_geometry_pathUpdates shape geometry from IGeometryPath object. Coordinates must be relative to the left
top corner of the shape.
Changes the type of the shape (IGeometryShape.shape_type) to ShapeType.CUSTOM.
set_geometry_pathsUpdates shape geometry from array of IGeometryPath. Coordinates must be relative to the left
top corner of the shape.
Changes the type of the shape (IGeometryShape.shape_type) to ShapeType.CUSTOM.
create_shape_elementsCreates and returns array of shape’s elements.
add_placeholder
remove_placeholder
get_base_placeholder

See Also