ODF .NET Class Library
Show/Hide TOC

# Connector Class

Represents a series of lines that are connected to the glue points of two other shapes.

## Definition

Namespace: Independentsoft.Office.Odf.Drawing
Assembly: Independentsoft.Office.Odf (in Independentsoft.Office.Odf.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
C#

    public class Connector : Shape

VB

    Public Class Connector
    	Inherits Shape

Inheritance
  Object Shape Connector

## Constructors

Connector | Initializes a new instance of the Connector class.

## Properties

Content | Contains a collection of IDrawText objects.
EndGluePoint | Contains the glue point in a shape where a connector ends by its number.
EndShape | Contains the drawing shape to which the end of a connector is connected by its ID.
EventListeners | Contains an attachment of an event listener to a drawing shape.
GluePoints | Contains the designated point in the area of a drawing object to which a connector shape can connect.
Height | (Inherited from Shape)
ID | (Inherited from Shape)
Layer | (Inherited from Shape)
LineSkew | Specifies the generation of the lines that connect the start and end points. Depending on the type of connector, this can vary from one to three distances that move the connector lines relative to their position.
Name | (Inherited from Shape)
StartGluePoint | Contains the glue point in a shape where a connector starts by its number.
StartShape | Contains the drawing shape to which the start of a connector is connected by its ID.
Style | (Inherited from Shape)
TextStyle | (Inherited from Shape)
Transform | (Inherited from Shape)
Type | Contains the connecting line between two escape points.
Width | (Inherited from Shape)
X | (Inherited from Shape)
X1 | Contains the start position of the glue point to which the connector is connected.
X2 | Contains the end position of the glue point to which the connector is connected.
Y | (Inherited from Shape)
Y1 | Contains the start position of the glue point to which the connector is connected.
Y2 | Contains the end position of the glue point to which the connector is connected.
ZIndex | (Inherited from Shape)

## Methods

Add(IDrawText) | Adds a IDrawText object to the content.
Add(List) | Adds a List object to the content.
Add(Paragraph) | Adds a Paragraph object to the content.
Clone | Creates a new object that is a deep copy of the current instance.
Equals | (Inherited from Object)
Finalize | (Inherited from Object)
GetContentElements | Returns all content elements. (Overrides ShapeGetContentElements)
GetHashCode | (Inherited from Object)
GetParent | Returns the parent element. (Overrides ShapeGetParent)
GetType | (Inherited from Object)
MemberwiseClone | (Inherited from Object)
ToString | Converts the value of the current Connector object to its equivalent string representation. (Overrides ObjectToString)

## See Also

#### Reference

Independentsoft.Office.Odf.Drawing Namespace