NShape Reference
Shape.MakePreview Method

<< Click to Display Table of Contents >>

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

NShape Reference
Shape.MakePreview Method

Previous pageReturn to chapter overviewNext page

Transforms the shape into a preview shape.

Syntax

public abstract void MakePreview(IStyleSet styleSet)

Description

When the framework wants to display a preview shape, it clones the original shape and then calls this method upon the clone. The Design property of the current Project instance can be used as the argument. The shape replaces its regular styles by special preview styles, which are for example transparent.

Parameters

Name

Description

styleSet

Specifies a source where the shape can retrieve the styles it needs to become a preview shape.

Exceptions

None