Skip to main content

INodeShapeStyle Interface

Namespace: NextDesign.Core

Description

Provides access to node shape style information.

Belonging Area

NameDescription
EditorA group of APIs to access editors.

Inherit Base

NameDescription
IShapeStyleProvides access to shape style information.

Property

NameDescription
FigureGets or sets the shape's figure.
Case-insensitive.
If a value outside the range is specified, the figure will not be displayed.
If null or an empty string is specified, the figure will be the one specified in the view definition.
If the shape definition does not allow changes to the figure, it will be ignored and will not be changed.
IsSimplifiedGets or sets whether the shape is simplified.
This API currently only supports compartment shapes.
Setting a value for other types of shapes will not switch to simplified view.

Method

NameDescription
ClearImageClears the image of the shape.
If the shape definition does not allow pasting of images, the image will not be cleared and will be ignored even if executed.
SetImageSets an image to the shape.
If the shape definition does not allow pasting of images, the image will not be changed and will be ignored even if executed.