<< Click to Display Table of Contents >> NShape Reference
|
Defines the public operations and properties of a diagram.
public class Diagram : IEntity |
Defines the public operations and properties of a diagram.
Name |
Description |
---|---|
Resized |
Raised when the diagram size changes. |
ShapeMoved |
Raised when a shape of the diagram has been moved. |
ShapeResized |
Raised when a shape of the diagram has been resized. |
ShapeRotated |
Raised when a shape of the diagram has been roteted. |
Name |
Description |
---|---|
BackgroundColor |
Specifies the background color of the diagram. This is the color of the lower right corner. |
BackgroundGradientColor |
Specifies the gradient background color. This is the color of the upper left corner. |
BackgroundImage |
Specifies a background image for the diagram. |
BackgroundImageGamma |
Specifies the gamma correction for the background image. |
BackgroundImageGrayscale |
Specifies if the image should be displayed as grayscale image. |
BackgroundImageLayout |
Specifies the layout of the image inside the diagram's bounds. |
BackgroundImageTransparency |
Specifies the transparency of the background image. |
BackgroundImageTransparentColor |
Specifies which color of the background image should be rendered 100% transparent. |
DisplayService |
Provides access to the diagrams IDisplayService. |
EntityTypeName |
Specifies the entity type name of the diagram. |
Height |
Specifies the height of the diagram in display units. |
HighQualityRendering |
Specifies if the diagram should be rendered with high quality or high speed. |
Layers |
Provides a collection of layers. |
Name |
The name of the diagram, used for identifying it. |
Shapes |
Provides a collection of shapes. |
Size |
Returns the size of the diagram. |
Title |
Localized display name. |
Width |
The width of the diagram in display units. |
Name |
Description |
---|---|
Assigns the given shapes to the specified layer(s). |
|
Assigns the given shape to the specified layer(s). |
|
Clear |
Empties the diagram. |
Constructor |
Constructs a new diagram instance. |
CreateImage |
Creates an image of the diagram. |
Draws the diagram's background. |
|
Draws the diagram's shapes. |
|
GetPropertyDefinitions |
Implementation of the IEntity.GetPropertyDefinitions pseudo member. |
GetShapeLayers |
Returns a bitwise combination of LayerIds of all layers the given shape is assigned to. |
Removes the given shape from the specified layer(s). |
|
RemoveShapesFromLayers |
Removes the given shapes from the specified layer(s). |
Namespace: Dataweb.NShape
Assembly: Dataweb.NShape