Syncfusion AI Assistant

How can I help you?

VisioStyleModel

6 Feb 20261 minute to read

Represents styling properties for a Visio connector line.
Contains fill, stroke, opacity, and dash pattern information.

Properties

fill string

Fill color of the connector

opacity number

Opacity/transparency level (0-1)

strokeColor string

Stroke/line color of the connector

strokeDashArray string

Dash array pattern for the stroke

strokeWidth number

Width of the stroke line

Methods

convertDashPattern

Converts Visio dash pattern codes to Syncfusion strokeDashArray format.

Parameter Type Description
patternCode string The Visio line pattern code

Returns string

fromShape

Creates a VisioStyleModel instance from a Visio connector shape.
Extracts line styling properties from shape cells.

Parameter Type Description
shape VisioShapeNode The Visio connector shape object

Returns VisioStyleModel