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

DiagramImage Members

Represents a diagram image item.

Constructors

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

Properties

Name Description
ActualConnectionPoints Returns the list of connection point locations. Inherited from DiagramItem.
ActualPadding Gets the actual padding for the diagram item. Inherited from DiagramItem.
ActualPaddingF Gets the actual padding for the diagram item. Inherited from DiagramItem.
AffectedByLayoutAlgorithms Specifies whether the item can be realigned by the automatic layout algoritms. Inherited from DiagramItem.
AllowPlaceholder Gets or sets whether the current DiagramImage displays a placeholder when its DiagramImage.Image property is null.
Anchors Gets or sets the sides of the root item (page) to which the current DiagramItem object is anchored. Inherited from DiagramItem.
Angle Specifies the angle by which the diagram item is rotated counterclockwise around its anchor point. Inherited from DiagramItem.
Appearance Provides access to the item’s appearance settings. Inherited from DiagramItem.
AreSubordinatesVisible Gets whether the current item’s subordinates are visible. Inherited from DiagramItem.
BackgroundId This member supports the internal infrastructure, and is not intended to be used directly from your code. Inherited from DiagramItem.
Bindings Gets a collection of current diagram item’s bindings. Inherited from DiagramItem.
Bounds Gets or sets the item bounds. Inherited from DiagramItem.
CanAttachConnectorBeginPoint Specifies whether end-users can attach a connector’s beginning point to the item. Inherited from DiagramItem.
CanAttachConnectorEndPoint Specifies whether end-users can attach the end point of a connector to the item. Inherited from DiagramItem.
CanChangeParent Specifies whether to allow end-users to place the item into another container. Inherited from DiagramItem.
CanCopy Specifies whether to allow end-users to copy the item to the clipboard. Inherited from DiagramItem.
CanCopyWithoutParent Specifies whether to allow end-users to copy the item placed in a container. Inherited from DiagramItem.
CanDelete Specifies whether to allow end-users to delete the item. Inherited from DiagramItem.
CanDeleteWithoutParent Specifies whether to allow end-users to delete the item placed in a container. Inherited from DiagramItem.
CanEdit This member is not supported by the DiagramImage class.
CanHideSubordinates Gets or sets whether to display the expand-collapse button below the diagram item that allows an end-user to show/hide the item’s subordinates. Inherited from DiagramItem.
CanMove Specifies whether to allow end-users to move the item across the canvas. Inherited from DiagramItem.
CanRaiseEvents protected Gets a value indicating whether the component can raise an event. Inherited from Component.
CanResize Specifies whether to allow end-users to resize the item. Inherited from DiagramItem.
CanRotate Specifies whether to allow end-users to rotate the item. Inherited from DiagramItem.
CanSelect Specifies whether to allow end-users to select the item. Inherited from DiagramItem.
CanSnapToOtherItems Specifies whether the item can snap to other items. Inherited from DiagramItem.
CanSnapToThisItem Specifies whether other items can snap to this item. Inherited from DiagramItem.
CollapseButtonHorizontalAlignment Gets or sets the horizontal alignment of the collapse button’s border relative to its actual position. Inherited from DiagramItem.
CollapseButtonOffset Gets or sets the collapse button’s offset. Inherited from DiagramItem.
CollapseButtonPosition Gets or sets the position of the collapse button. Inherited from DiagramItem.
CollapseButtonVerticalAlignment Gets or sets the vertical alignment of the collapse button’s border relative to its actual position. Inherited from DiagramItem.
CollapseButtonVisibilityMode Gets or sets a value that indicates when the collapse button is displayed. Inherited from DiagramItem.
ConnectionPoints Specifies the list of points on the perimeter of a shape at which connectors can terminate. Inherited from DiagramItem.
Container Gets the IContainer that contains the Component. Inherited from Component.
CustomStyleId This member supports the internal infrastructure, and is not intended to be used directly from your code. Inherited from DiagramItem.
DataContext Gets or sets the data item bound to the diagram item. Inherited from DiagramItem.
DesignMode protected Gets a value that indicates whether the Component is currently in design mode. Inherited from Component.
Events protected Gets the list of event handlers that are attached to this Component. Inherited from Component.
FlipMode Gets or sets the flip effect that is currently applied to the image.
ForegroundId This member supports the internal infrastructure, and is not intended to be used directly from your code. Inherited from DiagramItem.
Height Gets or sets the item height. Inherited from DiagramItem.
Image Gets or sets the source of the image displayed by the image item.
IncomingConnectors Gets the collection of the current item’s incoming connectors. Inherited from DiagramItem.
IsDisposed Gets whether the current diagram item is disposed. Inherited from DiagramItem.
IsSelected Gets whether the current item is selected. Inherited from DiagramItem.
IsTextEditMode Gets whether the diagram item’s text is currently being edited. Inherited from DiagramItem.
IsVisible Gets whether the current diagram item is visible. Inherited from DiagramItem.
MinHeight Gets or sets the minimum item height. Inherited from DiagramItem.
MinSize Gets or sets the minimum item size. Inherited from DiagramItem.
MinWidth Gets or sets the minimum item width. Inherited from DiagramItem.
MoveWithSubordinates Gets or sets whether moving the current diagram item also moves its subordinates. Inherited from DiagramItem.
OutgoingConnectors Gets the collection of the current item’s outgoing connectors. Inherited from DiagramItem.
Owner Gets the owner of the current diagram item. Inherited from DiagramItem.
Padding For internal use.
ParentItem Returns the current item’s parent item. Inherited from DiagramItem.
PlaceholderGeometry Gets the object that identifies the geometry of the image placeholder.
Position Gets or sets the coordinates of the item’s upper left corner. Inherited from DiagramItem.
SelectionLayer This member supports the internal infrastructure, and is not intended to be used directly from your code. Inherited from DiagramItem.
Site Gets or sets the ISite of the Component. Inherited from Component.
Size Gets or sets the size of the item. Inherited from DiagramItem.
SourceImageSize Gets the size of the source image.
StretchMode Specifies whether to preserve the aspect ratio of the source image when resizing the diagram image item.
StrokeId This member supports the internal infrastructure, and is not intended to be used directly from your code. Inherited from DiagramItem.
TabStop Gets or sets whether the current item can be navigated to during item navigation using the TAB key. Inherited from DiagramItem.
Tag Gets or sets an arbitrary object value that can be used to store custom information about this element. Inherited from DiagramItem.
TemplateCondition Gets or sets a condition that is used to choose a template for the diagram item. Inherited from DiagramItem.
TemplateName Identifies the item as a template used by data binding controllers. Inherited from DiagramItem.
ThemeStyleId Gets or sets the identifier of a style applied to the diagram item. Inherited from DiagramItem.
Weight This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from DiagramItem.
Width Gets or sets the item width. Inherited from DiagramItem.
X Returns the horizontal coordinate of the item’s upper left corner. Inherited from DiagramItem.
Y Returns the vertical coordinate of the item’s upper left corner. Inherited from DiagramItem.

Methods

Name Description
CreateObjRef(Type) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. Inherited from MarshalByRefObject.
Dispose() Releases all resources used by the Component. Inherited from Component.
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.
FitToImage() Changes the size of the diagram image item so that it matches the size of the source image.
GetDiagram() Gets the diagram control that is the owner of the diagram item. Inherited from DiagramItem.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetLifetimeService() Retrieves the current lifetime service object that controls the lifetime policy for this instance. Inherited from MarshalByRefObject.
GetService(Type) protected Returns an object that represents a service provided by the Component or by its Container. Inherited from Component.
GetType() Gets the Type of the current instance. Inherited from Object.
InitializeLifetimeService() Obtains a lifetime service object to control the lifetime policy for this instance. Inherited from MarshalByRefObject.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
MemberwiseClone(Boolean) protected Creates a shallow copy of the current MarshalByRefObject object. Inherited from MarshalByRefObject.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a String containing the name of the Component, if any. This method should not be overridden. Inherited from Component.

Events

Name Description
AngleChanged Fires each time the value of the DiagramItem.Angle property is changed. Inherited from DiagramItem.
BoundsChanged Fires each time the value of the DiagramItem.Bounds property is changed. Inherited from DiagramItem.
CanHideSubordinatesChanged Inherited from DiagramItem.
Disposed Occurs when the component is disposed by a call to the Dispose() method. Inherited from Component.
HeightChanged Fires each time the value of the DiagramItem.Height property is changed. Inherited from DiagramItem.
PositionChanged Fires each time the value of the DiagramItem.Position property is changed. Inherited from DiagramItem.
SizeChanged Fires each time the value of either DiagramItem.Height or DiagramItem.Width property is changed. Inherited from DiagramItem.
WidthChanged Fires each time the value of the DiagramItem.Width property is changed. Inherited from DiagramItem.
XChanged Fires each time the value of the DiagramItem.X property is changed. Inherited from DiagramItem.
YChanged Fires each time the value of the DiagramItem.Y property is changed. Inherited from DiagramItem.
See Also