# Line

The `Line` control enables you to draw lines on a form or container at design time or run time.

{% hint style="info" %}
For a full list of properties, methods and events see the [API documentation.](http://docs.wisej.com/api)
{% endhint %}

## Features

### Line Size

The `LineSize` property can be used to get or set the height of the line in pixels.

![Line controls with different line sizes (1, 3, and 5 pixels)](/files/-MezP44u6oO2EEcpuzz3)

### Line Style

The `LineStyle` property can be used to customize the appearance of the line using one of the following presets:

* `None`: No line.
* `Solid`: A solid line.
* `Dotted`: A dotted line.
* `Dashed`: A dashed line.
* `Double`: A double solid line.

![Different line styles: Solid, Dotted, Dashed, and Double](/files/-MezPSoS-lVgehJ-WBvp)

### Orientation

Lines can be configured to be shown in a `Horizontal` or `Vertical` orientation:

![Line control showing horizontal and vertical orientations](/files/-MezTbb7YmsvRkkjOYNe)

## Advanced

### JavaScript Widget

| Item             | Description                                                                                                         |
| ---------------- | ------------------------------------------------------------------------------------------------------------------- |
| Class name       | "wisej.web.Line"                                                                                                    |
| Theme appearance | "line", see [Themes](https://docs.wisej.com/theme-builder/theme-elements/elements).                                 |
| Child components | "line" is the line element. See [JavaScript](/docs/concepts/javascript-object-model.md).                            |
| Source code      | [https://github.com/iceteagroup/wisej-js](https://github.com/iceteagroup/wisej-js/blob/master/wisej.web.TextBox.js) |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.wisej.com/docs/controls/content/line.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
