Skip to main content
A newer version of this page is available. .

DiagramCustomShape Properties

A custom shape.
Name Description
AllowEditImage This property is not in effect.
AllowEditText Specifies whether the shape’s text can be edited.
BackgroundImageHeight Specifies the height of the shape background image.
BackgroundImageLeft Specifies the left offset of the shape background image.
BackgroundImageTop Specifies the top offset of the shape background image.
BackgroundImageUrl Specifies the shape background image’s URL.
BackgroundImageWidth Specifies the width of the shape background image.
BaseType Specifies the base shape type for the custom shape.
Category Specifies a category to which the custom shape belongs.
Collection Gets the collection to which an item belongs. Inherited from CollectionItem.
ConnectionPoints Provides access to a collection of the shape’s connection points.
DefaultHeight Specifies the initial height of the shape.
DefaultImageUrl Specifies the shape image’s URL.
DefaultText Specifies the initial text of the shape.
DefaultWidth Specifies the initial width of the shape.
ImageHeight Specifies the height of the image in the shape.
ImageLeft Specifies the left offset of the image in the shape.
ImageTop Specifies the top offset of the image in the shape.
ImageWidth Specifies the width of the image in the shape.
Index Gets or sets the item’s index within the collection. Inherited from CollectionItem.
TextHeight Specifies the text container height.
TextLeft Specifies the left offset of a text container.
TextTop Specifies the top offset of a text container.
TextWidth Specifies the text container width.
Title Specifies the shape’s tooltip in the toolbox.
Type Identifies the shape’s type.
See Also