NShape Reference
Shape.HasControlPointCapability Method

<< Click to Display Table of Contents >>

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

NShape Reference
Shape.HasControlPointCapability Method

Previous pageReturn to chapter overviewNext page

Tests, whether a control point has at least one of a set of given capabilities.

Syntax

public abstract bool HasControlPointCapability(
    ControlPointId controlPointId,
    ControlPointCapabilities controlPointCapabilities
)

Description

If one of the capabilities in controlPointCapability is set, the function returns true.

Parameters

Name

Description

controlPointId

Identifies the control point to test.

controlPointCapabilities

Defines a set of capabilities for which to test.

Return Value

True, if the control point has one of the given capabilities.

Exceptions

Name

Description

ArgumentException

The control point id is invalid.