IGeometryShape

IGeometryShape interface

Represents the parent class for all geometric shapes.

public interface IGeometryShape : IShape

Properties

NameDescription
Adjustments { get; }Returns a collection of shape’s adjustment values. Read-only IAdjustValueCollection.
AsIShape { get; }Allows to get base IShape interface. Read-only IShape.
ShapeStyle { get; }Returns shape’s style object. Read-only IShapeStyle.
ShapeType { get; set; }Returns or sets the geometry preset type. Note: on value changing all adjustment values will reset to their default values. Read/write ShapeType.

Methods

NameDescription
CreateShapeElements()Creates and returns array of shape’s elements.
GetGeometryPaths()Returns the copy of path of the geometry shape. Coordinates are relative to the left top corner of the shape.
SetGeometryPath(IGeometryPath)Updates shape geometry from IGeometryPath object. Coordinates must be relative to the left top corner of the shape. Changes the type of the shape (ShapeType) to Custom.
SetGeometryPaths(IGeometryPath[])Updates shape geometry from array of IGeometryPath. Coordinates must be relative to the left top corner of the shape. Changes the type of the shape (ShapeType) to Custom.

See Also