Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Excerpt

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.

Signature
C#
C#
  public class Shape
Signature
vb.net
vb.net

Public Class Shape
Remarks

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.

Properties

Name

Description

FillColor

Excerpt Include
Shape.FillColor
Shape.FillColor
nopaneltrue

FillTransparency

Excerpt Include
Shape.FillTransparency
Shape.FillTransparency
nopaneltrue

FitToText

Excerpt Include
Shape.FitToText
Shape.FitToText
nopaneltrue

Height

Excerpt Include
Shape.Height
Shape.Height
nopaneltrue

HorizontalAlignment

Excerpt Include
Shape.HorizontalAlignment
Shape.HorizontalAlignment
nopaneltrue

LineColor

Excerpt Include
Shape.LineColor
Shape.LineColor
nopaneltrue

LockAspectRatio

Excerpt Include
Shape.LockAspectRatio
Shape.LockAspectRatio
nopaneltrue

Name

Excerpt Include
Shape.Name
Shape.Name
nopaneltrue

ObjectPositioning

Excerpt Include
Shape.ObjectPositioning
Shape.ObjectPositioning
nopaneltrue

Position

Excerpt Include
Shape.Position
Shape.Position
nopaneltrue

Rotation

Excerpt Include
Shape.Rotation
Shape.Rotation
nopaneltrue

Text

Excerpt Include
Shape.Text
Shape.Text
nopaneltrue

Type

Excerpt Include
Shape.Type
Shape.Type
nopaneltrue

VerticalAlignment

Excerpt Include
Shape.VerticalAlignment
Shape.VerticalAlignment
nopaneltrue

Width

Excerpt Include
Shape.Width
Shape.Width
nopaneltrue
Properties

Methods

Name

Description

ClearRichTextFormatting()

Excerpt Include
Shape.ClearRichTextFormatting()
Shape.ClearRichTextFormatting()
nopaneltrue

GetCharacters(Int32)

Excerpt Include
Shape.GetCharacters(Int32)
Shape.GetCharacters(Int32)
nopaneltrue

GetCharacters(Int32, Int32)

Excerpt Include
Shape.GetCharacters(Int32, Int32)
Shape.GetCharacters(Int32, Int32)
nopaneltrue

SetCustomFillColor(Int32, Int32, Int32)

Excerpt Include
Shape.SetCustomFillColor(Int32, Int32, Int32)
Shape.SetCustomFillColor(Int32, Int32, Int32)
nopaneltrue

SetCustomLineColor(Int32, Int32, Int32)

Excerpt Include
Shape.SetCustomLineColor(Int32, Int32, Int32)
Shape.SetCustomLineColor(Int32, Int32, Int32)
nopaneltrue