API Reference

Class

VisioConnectorLabelPlacement

Namespace OfficeIMO.Visio
Assembly OfficeIMO.Visio
Modifiers sealed

Controls where connector text is placed.

Inheritance

  • Object
  • VisioConnectorLabelPlacement

Usage

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

Constructors

VisioConnectorLabelPlacement 2 overloads
public VisioConnectorLabelPlacement() #

Initializes label placement at the center of the connector.

public VisioConnectorLabelPlacement(Double position, Double offsetX = 0, Double offsetY = 0) #

Initializes label placement along a connector path.

Parameters

position System.Double requiredposition: 0
Position along the connector path, from 0.0 to 1.0.
offsetX System.Double = 0 optionalposition: 1
Horizontal page-coordinate offset.
offsetY System.Double = 0 optionalposition: 2
Vertical page-coordinate offset.

Methods

public static VisioConnectorLabelPlacement Along(Double position, Double offsetX = 0, Double offsetY = 0, Double width = 1.25, Double height = 0.3) #
Returns: VisioConnectorLabelPlacement

Creates placement along the connector path.

Parameters

position System.Double requiredposition: 0
Position along the connector path, from 0.0 to 1.0.
offsetX System.Double = 0 optionalposition: 1
Horizontal page-coordinate offset.
offsetY System.Double = 0 optionalposition: 2
Vertical page-coordinate offset.
width System.Double = 1.25 optionalposition: 3
Label text box width in page units.
height System.Double = 0.3 optionalposition: 4
Label text box height in page units.
public static VisioConnectorLabelPlacement At(Double pinX, Double pinY, Double width = 1.25, Double height = 0.3) #
Returns: VisioConnectorLabelPlacement

Creates placement at an absolute page coordinate.

Parameters

pinX System.Double requiredposition: 0
Text pin X coordinate.
pinY System.Double requiredposition: 1
Text pin Y coordinate.
width System.Double = 1.25 optionalposition: 2
Label text box width in page units.
height System.Double = 0.3 optionalposition: 3
Label text box height in page units.
public VisioConnectorLabelPlacement Clone() #
Returns: VisioConnectorLabelPlacement

Creates a detached copy of the placement.

Properties

public Double Position { get; set; } #

Position along the connector path, from 0.0 to 1.0.

public Double OffsetX { get; set; } #

Horizontal page-coordinate offset.

public Double OffsetY { get; set; } #

Vertical page-coordinate offset.

public Double Width { get; set; } #

Label text box width in page units.

public Double Height { get; set; } #

Label text box height in page units.