Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

VisioConnectorLabelPlacement

Namespace OfficeIMO.Visio
Assembly OfficeIMO.Visio
Modifiers sealed

Controls where connector text is placed. Coordinates, offsets and dimensions use the page's drawing units; image export applies the page's drawing scale.

Inheritance

  • Object
  • VisioConnectorLabelPlacement

Usage

Explore 4 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.

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 drawing inches.
height System.Double = 0.3 optionalposition: 4
Label text box height in drawing inches.
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 drawing inches.
height System.Double = 0.3 optionalposition: 3
Label text box height in drawing inches.
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 drawing inches.

public Double Height { get; set; } #

Label text box height in drawing inches.

public Double? PinX { get; set; } #

Absolute page X coordinate for labels placed with VisioConnectorLabelPlacement.At.

public Double? PinY { get; set; } #

Absolute page Y coordinate for labels placed with VisioConnectorLabelPlacement.At.