NShape Reference
TemplateTool Class

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape >

NShape Reference
TemplateTool Class

Previous pageReturn to chapter overviewNext page

A tool for creating shapes based on a template.

Syntax

public abstract class TemplateTool : Tool

Description

Public Properties

Name

Description

Template

The template of the tool.

Public Methods

Name

Description

Dispose

Disposes the tool and its contents.

RefreshIcons

Refreshes the icons of the tools used in the tool box.

Protected Properties

Name

Description

PreviewShape

A clone of the template's shape drawn as tool preview on the IDiagramPresenter's display.

Protected Methods

Name

Description

ClearPreview

Disposes and deletes the preview shape.

Constructor

Constructs a new instance.

CreatePreview

Creates a new preview shape.

Derived Classes

Derived classes are:

LinearShapeCreationTool

PlanarShapeCreationTool

Requirements

Namespace: Dataweb.NShape.Advanced

Assembly: Dataweb.NShape