Skip to main content

IConnector.SetLineType method

Namespace: NextDesign.Core

Description

Sets the line style of the connector.

argument

NameTypeDescription
lineTypeStringstringLine type

Can be one of the following values.
- "Straight" : Straight line
- "Orthogonal" : Polyline
- "Bezier1Dimension" : Linear Bezier curve
- "Bezier2Dimension" : Quadratic Bezier curve

Cannot be null or blank.

Return value

  • void

Exceptions

NameException ClassDescription
Invalid argumentExtensionArgumentExceptionWhen null or blank is specified for lineTypeString
When "Tree" is specified for lineTypeString
When a character string other than a line type is specified for lineTypeString
Illegal operationExtensionInvalidOperationExceptionAttempting to set a connector on a tree diagram
Attempting to set a connector on a feature tree diagram