# OdpLine

An ODP line. Review signatures, members, parameters, type relationships, and available reference details in OfficeIMO.OpenDocument API Reference.

Class 

`OfficeIMO.OpenDocument`

**Namespace**

`OfficeIMO.OpenDocument`

**Assembly**

`OfficeIMO.OpenDocument`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[OdpShape.cs:46](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Presentation/OdpShape.cs#L46)

**Base**

`OdpShape`

**Modifiers**

sealed

An ODP line.

## Inheritance

- [OdfShape](/api/open-document/officeimo-opendocument-odfshape/)
- [OdpShape](/api/open-document/officeimo-opendocument-odpshape/)
- OdpLine

## Usage

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

### Returned or exposed by 1

- Method [OdpSlide.AddLine](/api/open-document/officeimo-opendocument-odpslide/#method-addline-officeimo-opendocument-odflength-officeimo-opendocument-odflength-officeimo-opendocument-odflength-officeimo-opendocument-odflength-string)

Filter members 

Show inherited

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public override OdfRect Bounds { get; set; }` [#](#property-bounds)

[OdpShape.cs:46](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Presentation/OdpShape.cs#L46)

Position and size for shapes exposing SVG bounds.

`public OdfLength X1 { get; set; }` [#](#property-x1)

[OdpShape.cs:48](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Presentation/OdpShape.cs#L48)

First horizontal endpoint.

`public OdfLength Y1 { get; set; }` [#](#property-y1)

[OdpShape.cs:50](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Presentation/OdpShape.cs#L50)

First vertical endpoint.

`public OdfLength X2 { get; set; }` [#](#property-x2)

[OdpShape.cs:52](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Presentation/OdpShape.cs#L52)

Second horizontal endpoint.

`public OdfLength Y2 { get; set; }` [#](#property-y2)

[OdpShape.cs:54](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Presentation/OdpShape.cs#L54)

Second vertical endpoint.

## Inherited Properties

`public bool Hidden { get; set; }` [#](#property-hidden)

[OdpShape.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Presentation/OdpShape.cs#L9)

Inherited from [OdpShape](/api/open-document/officeimo-opendocument-odpshape/)

`public IReadOnlyList<OdpParagraph> TextParagraphs { get; }` [#](#property-textparagraphs)

[OdpShape.Inspection.cs:5](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Presentation/OdpShape.Inspection.cs#L5)

Inherited from [OdpShape](/api/open-document/officeimo-opendocument-odpshape/)

`public string Name { get; set; }` [#](#property-name)

[OdfShape.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Drawing/OdfShape.cs#L10)

Inherited from [OdfShape](/api/open-document/officeimo-opendocument-odfshape/)

`public string? XmlId { get; set; }` [#](#property-xmlid)

[OdfShape.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Drawing/OdfShape.cs#L18)

Inherited from [OdfShape](/api/open-document/officeimo-opendocument-odfshape/)

`public virtual string? Transform { get; set; }` [#](#property-transform)

[OdfShape.cs:40](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Drawing/OdfShape.cs#L40)

Inherited from [OdfShape](/api/open-document/officeimo-opendocument-odfshape/)

`public OfficeFillRule FillRule { get; set; }` [#](#property-fillrule)

[OdfShape.cs:45](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Drawing/OdfShape.cs#L45)

Inherited from [OdfShape](/api/open-document/officeimo-opendocument-odfshape/)

`public OdfColor? FillColor { get; set; }` [#](#property-fillcolor)

[OdfShape.cs:56](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Drawing/OdfShape.cs#L56)

Inherited from [OdfShape](/api/open-document/officeimo-opendocument-odfshape/)

`public OdfColor? StrokeColor { get; set; }` [#](#property-strokecolor)

[OdfShape.cs:65](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Drawing/OdfShape.cs#L65)

Inherited from [OdfShape](/api/open-document/officeimo-opendocument-odfshape/)

`public OdfLength? StrokeWidth { get; set; }` [#](#property-strokewidth)

[OdfShape.cs:76](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Drawing/OdfShape.cs#L76)

Inherited from [OdfShape](/api/open-document/officeimo-opendocument-odfshape/)

`public string? FillGradientName { get; set; }` [#](#property-fillgradientname)

[OdfShape.Gradients.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Drawing/OdfShape.Gradients.cs#L8)

Inherited from [OdfShape](/api/open-document/officeimo-opendocument-odfshape/)

`public int? GradientStepCount { get; set; }` [#](#property-gradientstepcount)

[OdfShape.Gradients.cs:28](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Drawing/OdfShape.Gradients.cs#L28)

Inherited from [OdfShape](/api/open-document/officeimo-opendocument-odfshape/)

`public string? StrokeStartMarkerName { get; set; }` [#](#property-strokestartmarkername)

[OdfShape.Markers.cs:5](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Drawing/OdfShape.Markers.cs#L5)

Inherited from [OdfShape](/api/open-document/officeimo-opendocument-odfshape/)

`public string? StrokeEndMarkerName { get; set; }` [#](#property-strokeendmarkername)

[OdfShape.Markers.cs:7](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Drawing/OdfShape.Markers.cs#L7)

Inherited from [OdfShape](/api/open-document/officeimo-opendocument-odfshape/)

`public OdfLength? StrokeStartMarkerWidth { get; set; }` [#](#property-strokestartmarkerwidth)

[OdfShape.Markers.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Drawing/OdfShape.Markers.cs#L9)

Inherited from [OdfShape](/api/open-document/officeimo-opendocument-odfshape/)

`public OdfLength? StrokeEndMarkerWidth { get; set; }` [#](#property-strokeendmarkerwidth)

[OdfShape.Markers.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Drawing/OdfShape.Markers.cs#L11)

Inherited from [OdfShape](/api/open-document/officeimo-opendocument-odfshape/)

`public bool? StrokeStartMarkerCentered { get; set; }` [#](#property-strokestartmarkercentered)

[OdfShape.Markers.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Drawing/OdfShape.Markers.cs#L13)

Inherited from [OdfShape](/api/open-document/officeimo-opendocument-odfshape/)

`public bool? StrokeEndMarkerCentered { get; set; }` [#](#property-strokeendmarkercentered)

[OdfShape.Markers.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Drawing/OdfShape.Markers.cs#L15)

Inherited from [OdfShape](/api/open-document/officeimo-opendocument-odfshape/)

`public double? FillOpacity { get; set; }` [#](#property-fillopacity)

[OdfShape.Opacity.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Drawing/OdfShape.Opacity.cs#L8)

Inherited from [OdfShape](/api/open-document/officeimo-opendocument-odfshape/)

`public double? StrokeOpacity { get; set; }` [#](#property-strokeopacity)

[OdfShape.Opacity.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Drawing/OdfShape.Opacity.cs#L20)

Inherited from [OdfShape](/api/open-document/officeimo-opendocument-odfshape/)

`public double? ImageOpacity { get; set; }` [#](#property-imageopacity)

[OdfShape.Opacity.cs:27](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Drawing/OdfShape.Opacity.cs#L27)

Inherited from [OdfShape](/api/open-document/officeimo-opendocument-odfshape/)

`public OfficeStrokeLineCap? StrokeLineCap { get; set; }` [#](#property-strokelinecap)

[OdfShape.Stroke.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Drawing/OdfShape.Stroke.cs#L8)

Inherited from [OdfShape](/api/open-document/officeimo-opendocument-odfshape/)

`public OfficeStrokeLineJoin? StrokeLineJoin { get; set; }` [#](#property-strokelinejoin)

[OdfShape.Stroke.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Drawing/OdfShape.Stroke.cs#L20)

Inherited from [OdfShape](/api/open-document/officeimo-opendocument-odfshape/)

`public string? StrokeDashName { get; set; }` [#](#property-strokedashname)

[OdfShape.Stroke.cs:33](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Drawing/OdfShape.Stroke.cs#L33)

Inherited from [OdfShape](/api/open-document/officeimo-opendocument-odfshape/)

`public OdfTextFitMode? TextFitMode { get; set; }` [#](#property-textfitmode)

[OdfShape.TextFitting.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Drawing/OdfShape.TextFitting.cs#L17)

Inherited from [OdfShape](/api/open-document/officeimo-opendocument-odfshape/)

`public OfficeTextAreaAlignment? TextAreaAlignment { get; set; }` [#](#property-textareaalignment)

[OdfShape.TextFrame.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Drawing/OdfShape.TextFrame.cs#L11)

Inherited from [OdfShape](/api/open-document/officeimo-opendocument-odfshape/)

`public OdfTextAreaVerticalAlignment? TextVerticalAlignment { get; set; }` [#](#property-textverticalalignment)

[OdfShape.TextFrame.cs:27](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Drawing/OdfShape.TextFrame.cs#L27)

Inherited from [OdfShape](/api/open-document/officeimo-opendocument-odfshape/)

`public bool? WrapText { get; set; }` [#](#property-wraptext)

[OdfShape.TextFrame.cs:42](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Drawing/OdfShape.TextFrame.cs#L42)

Inherited from [OdfShape](/api/open-document/officeimo-opendocument-odfshape/)

`public OdfInsets? TextPadding { get; set; }` [#](#property-textpadding)

[OdfShape.TextFrame.cs:59](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Drawing/OdfShape.TextFrame.cs#L59)

Inherited from [OdfShape](/api/open-document/officeimo-opendocument-odfshape/)

`public bool? AutoGrowHeight { get; set; }` [#](#property-autogrowheight)

[OdfShape.TextSizing.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Drawing/OdfShape.TextSizing.cs#L10)

Inherited from [OdfShape](/api/open-document/officeimo-opendocument-odfshape/)

`public bool? AutoGrowWidth { get; set; }` [#](#property-autogrowwidth)

[OdfShape.TextSizing.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Drawing/OdfShape.TextSizing.cs#L18)

Inherited from [OdfShape](/api/open-document/officeimo-opendocument-odfshape/)

`public OdfLength? TextBoxMinimumHeight { get; set; }` [#](#property-textboxminimumheight)

[OdfShape.TextSizing.cs:25](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Drawing/OdfShape.TextSizing.cs#L25)

Inherited from [OdfShape](/api/open-document/officeimo-opendocument-odfshape/)

`public OdfLength? TextBoxMinimumWidth { get; set; }` [#](#property-textboxminimumwidth)

[OdfShape.TextSizing.cs:31](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Drawing/OdfShape.TextSizing.cs#L31)

Inherited from [OdfShape](/api/open-document/officeimo-opendocument-odfshape/)

`public OdfLength? TextBoxMaximumHeight { get; set; }` [#](#property-textboxmaximumheight)

[OdfShape.TextSizing.cs:37](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Drawing/OdfShape.TextSizing.cs#L37)

Inherited from [OdfShape](/api/open-document/officeimo-opendocument-odfshape/)

`public OdfLength? TextBoxMaximumWidth { get; set; }` [#](#property-textboxmaximumwidth)

[OdfShape.TextSizing.cs:43](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Drawing/OdfShape.TextSizing.cs#L43)

Inherited from [OdfShape](/api/open-document/officeimo-opendocument-odfshape/)

<!-- PowerForge markdown artifact sha256:D122786FB65F7CEB891CBC12030DF0370A236B96AB0A2B635004A81EE9076041 -->
