The Shape class allows the appearance and behavior of drawing object to be manipulated. On its own, Shape represents a simple auto shape, such as a line, rectangle, or oval. A shape may also represent the display area of a Comment or the size, position, and formatting of a Picture.

 public class Shape
Public Class Shape

Once a Shape is created with a particular ShapeType, the type may not be changed. Instead, delete the shape and create a new one with the appropriate type.

To create a Shape object, call Shapes.CreateShape.

Name

Description

FillColor

FillTransparency

FitToText

Height

HorizontalAlignment

LineColor

LockAspectRatio

Name

ObjectPositioning

Position

Rotation

Text

Type

VerticalAlignment

Width

Name

Description

ClearRichTextFormatting()

GetCharacters(Int32)

GetCharacters(Int32, Int32)

SetCustomFillColor(Int32, Int32, Int32)

SetCustomLineColor(Int32, Int32, Int32)