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

DiagramCustomShape Members

A custom shape.

Constructors

Name Description
DiagramCustomShape() Initializes a new instance of the DiagramCustomShape class.

Properties

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.

Methods

Name Description
Assign(CollectionItem) Copies public properties from the specified object to the current object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a type of the custom shape (the Type property value).
See Also