NShape Reference
ModelObject Property

<< Click to Display Table of Contents >>

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

NShape Reference
ModelObject Property

Previous pageReturn to chapter overviewNext page

Gets and sets the model object for the shape.

Syntax

public abstract IModelObject ModelObject { getset; }

Description

Shapes can but need not have a model object. As long as it has a model object, the model object holds a reference to the shape. The bidirectional link between shapes and model objects must be cut by setting ModelObject to null before the shape can be released.