Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

VisioConnectorStyle

Namespace OfficeIMO.Visio
Assembly OfficeIMO.Visio
Modifiers sealed

Reusable visual style for Visio connectors.

Inheritance

  • Object
  • VisioConnectorStyle

Usage

Explore 12 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 7

Constructors

public VisioConnectorStyle(OfficeColor lineColor, Double lineWeight = 0.0138889, Int32 linePattern = 1, EndArrow? endArrow = 13) #

Initializes a new connector style.

Parameters

lineColor OfficeIMO.Drawing.OfficeColor requiredposition: 0
Line color.
lineWeight System.Double = 0.0138889 optionalposition: 1
Line weight in inches.
linePattern System.Int32 = 1 optionalposition: 2
Line pattern index.
endArrow OfficeIMO.Visio.EndArrow? = 13 optionalposition: 3
Optional end arrow style.

Methods

public Void ApplyTo(VisioConnector connector) #
Returns: Void

Applies this style to a connector.

Parameters

connector OfficeIMO.Visio.VisioConnector requiredposition: 0
Connector to update.
public VisioConnectorStyle Clone() #
Returns: VisioConnectorStyle

Creates a detached copy of this style.

Properties

public OfficeColor LineColor { get; set; } #

Line color.

public Double LineWeight { get; set; } #

Line weight in inches.

public Int32 LinePattern { get; set; } #

Line pattern index.

public EndArrow? BeginArrow { get; set; } #

Optional begin arrow style. Null leaves the current value unchanged.

public EndArrow? EndArrow { get; set; } #

Optional end arrow style. Null leaves the current value unchanged.

public ConnectorKind? Kind { get; set; } #

Optional connector kind. Null leaves the current value unchanged.

public VisioTextStyle? TextStyle { get; set; } #

Optional connector label text style to apply with this connector style.