ASP.NET Pack Programmer's Guide
ElementTemplate Members
Constructors Properties Methods
 


Represents an element of a shape definition. This is the parent class of specific element types, such as ArcTemplate, LineTemplate and BezierTemplate.

The following tables list the members exposed by the ElementTemplate type.

 Protected Constructors

  Name Description

ElementTemplate

Initializes a new instance of the ElementTemplate class.

 Public Properties

  Name Description

Color

Gets or sets the outline color of this element.

DashStyle

Gets or sets the dash style of the outline of this element.

Width

Gets or sets the outline width of this element.

 Public Methods

  Name Description

Clone

Creates an exact copy of this element.

SameAs

Checks whether the current element and the specified element resemble each other closely enough to be considered identical.

 Protected Methods

  Name Description

GetElementPen

Gets a pen used to render the element. If no pen properties are explicitly specified for this element, returns the pen passed as an argument.

 See Also

ElementTemplate Class
MindFusion.Diagramming Namespace