---
Product: Aspose.Slides
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/slides/python/LineFormat
---

# LineFormat

## Overview

`LineFormat` is a class in Aspose.Slides FOSS for Python.
Inherits from: `PVIObject`, `ISlideComponent`, `IPresentationComponent`.

Represents format of a line.

Properties: `alignment`, `as_i_presentation_component`, `begin_arrowhead_length`, `begin_arrowhead_style`, `begin_arrowhead_width`, `cap_style`, and 13 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `is_format_not_defined` | `bool` | Read | Returns true if line format is not defined (as just created, default). |
| `fill_format` | `ILineFillFormat` | Read | Returns the fill format of a line. |
| `width` | `float` | Read/Write | Returns or sets the width of a line. |
| `dash_style` | `LineDashStyle` | Read/Write | Returns or sets the line dash style. |
| `custom_dash_pattern` | `list[float]` | Read/Write | Returns or sets the custom dash pattern. |
| `cap_style` | `LineCapStyle` | Read/Write | Returns or sets the line cap style. |
| `style` | `LineStyle` | Read/Write | Returns or sets the line style. |
| `alignment` | `LineAlignment` | Read/Write | Returns or sets the line alignment. |
| `join_style` | `LineJoinStyle` | Read/Write | Returns or sets the lines join style. |
| `miter_limit` | `float` | Read/Write | Returns or sets the miter limit of a line. |
| `begin_arrowhead_style` | `LineArrowheadStyle` | Read/Write | Returns or sets the arrowhead style at the beginning of a line. |
| `end_arrowhead_style` | `LineArrowheadStyle` | Read/Write | Returns or sets the arrowhead style at the end of a line. |
| `begin_arrowhead_width` | `LineArrowheadWidth` | Read/Write | Returns or sets the arrowhead width at the beginning of a line. |
| `end_arrowhead_width` | `LineArrowheadWidth` | Read/Write | Returns or sets the arrowhead width at the end of a line. |
| `begin_arrowhead_length` | `LineArrowheadLength` | Read/Write | Returns or sets the arrowhead length at the beginning of a line. |
| `end_arrowhead_length` | `LineArrowheadLength` | Read/Write | Returns or sets the arrowhead length at the end of a line. |
| `as_i_presentation_component` | `IPresentationComponent` | Read | Allows to get base IPresentationComponent interface. |
| `slide` | `IBaseSlide` | Read | Gets the slide. |
| `presentation` | `IPresentation` | Read | Gets the presentation. |

## See Also

- [Aspose.Slides — Enterprise API Reference](https://reference.aspose.com/slides/)