Skip to main content

DiagramCustomShape Members

A custom shape.

Constructors

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

Properties

Name Description
AllowEditImage Specifies whether users can change the shape’s image.
AllowEditText Specifies whether the shape’s text can be edited.
AllowResize Specifies whether the shape can be resized.
BackgroundImageHeight Specifies the height of the shape background image.
BackgroundImageLeft Specifies the left offset of the shape background image.
BackgroundImageToolboxUrl Specifies a shape image displayed in a toolbox.
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.
CategoryName 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.
KeepRatioOnAutoSize Specifies whether the shape maintains its width-to-height ratio on auto resize
MaxHeight Specifies the maximum height of the shape.
MaxWidth Specifies the maximum width of the shape.
MinHeight Specifies the minimum height of the shape.
MinWidth Specifies the minimum width of the shape.
TemplateHeight Specifies the shape template’s fractional height.
TemplateLeft Specifies the shape template’s left offset.
TemplateTop Specifies the shape template’s top offset.
TemplateWidth Specifies the shape template’s fractional width.
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.
ToolboxWidthToHeightRatio Specifies the aspect ratio of the shape 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