NShape Reference
Template Class

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape >

NShape Reference
Template Class

Previous pageReturn to chapter overviewNext page

Combines a shape and a model object to form a sample for shape creation.

Syntax

public class Template : IEntity

Description

Public Properties

Name

Description

Description

A descriptive text for the template.

EntityTypeName

The EntityTypeName of the Template.

Id

Implementation of IEntity.Id.

Name

The name of the template.

Shape

The template's shape.

Title

Localized display name.

Public Methods

Name

Description

AssignId

Implementation of IEntity.AssignId.

Clone

Implementation of IClonable.Clone.

Constructor

Constructs a new template instance.

CopyFrom

Copies all properties and fields from the source template to this template.

CreateShape

Creates a new shape from this template.

CreateThumbnail

Creates a thumbnail image from the template's shape.

Delete

Implementation of IEntity.Delete.

GetMappedTerminalId

Retrieves the model object terminal that corresponds to the given shape connection point.

GetMappedTerminalName

Retrieves the model object terminal name that corresponds to the given shape connection point.

GetMenuItemDefs

Returns a list of menu item definitions.

GetPropertyDefinitions

Implementation of the IEntity.GetPropertyDefinitions pseudo member.

GetPropertyMapping

Returns the property mapping for the specified model object property.

GetPropertyMappings

Returns all property mappings.

LoadFields

Implementation of IEntity.LoadFields.

LoadInnerObjects

Implementation of IEntity.LoadInnerObjects.

MapProperties

Maps a model object property to a shape property.

MapTerminal

Maps a terminal to a connection point.

SaveFields

Implementation of IEntity.SaveFields.

SaveInnerObjects

Implementation of IEntity.SaveInnerObjects.

UnmapAllProperties

Deletes all property mappings.

UnmapAllTerminals

Deletes all property mappings.

UnmapProperties

Deletes the given property mapping.

Requirements

Namespace: Dataweb.NShape

Assembly: Dataweb.NShape