NShape Reference
ShapeType Class

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape.Advanced >

NShape Reference
ShapeType Class

Previous pageReturn to chapter overviewNext page

Describes a shape type.

Syntax

public sealed class ShapeType

Description

A shape type is responsible for:

Describing the properties of a set of shapes.

Creating shapes.

Public Methods

Name

Description

CreateInstance

Creates a new (initialized) shape instance.

CreatePreviewInstance

Creates a new shape instance initialized with preview versions of the given shape's styles.

GetPropertyDefinitions

Implementation of the IEntity.GetPropertyDefinitions pseudo member.

ShapeType Constructor

Constructs a shape type.

Public Properties

Name

Description

DefaultCategoryTitle

The default category for the ToolSetController.

Description

A descriptive text.

FreehandReferenceImage

An image containing the figure that has to be drawn with the FreeHandTool to create a shape of this type.
Not used in this version.

FullName

The fully qualified shape type name including library name and shape type name.

LibraryName

The name of the library that contains the shape definition.

Name

The name of the shape's type.

SupportsAutoTemplates

Specifies if a template can be created from shapes of this type.

Requirements

Namespace: Dataweb.NShape.Advanced

Assembly: Dataweb.NShape

See also

Concepts: Understanding Shape Creation