Search
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

Gest 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.

GetStartPoint

Get the element's start point.

SameAs

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

UpdatePath

Appends the outline represented by the current element to the specified path.

 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