# XLINE Command
[GstarCAD 2027](Help%20System/GSTARCAD/2027/Index.md) → [Commands](Help%20System/GSTARCAD/2027/Commands/(Commands).md) → [X](Help%20System/GSTARCAD/2027/Commands/X/(X).md)
## Function Description:
This command is used to create infinitely long straight lines.
Users can create the structure and reference lines by infinitely long straight lines, and this kind of lines can be trimmed.
## Command Access:
> **Icon:** 
> **Menu:** Draw > Construction Line
> **Ribbon:** Home > Draw > XLINE
> **Toolbar:** Draw > XLINE
> **Command:** XLINE
> **Alias:** XL
## Command Prompts:
```
Specify a point or [Hor/Ver/Ang/Bisect/Offset]:
```
## **Point**
Creates an xline by two specified points. These two points determine the position of the xline.

## **Hor**
Creates a horizontal xline through a specified point. This xline is parallel to the X axis.

## **Ver**
Creates a vertical xline through a specified point. This xline is parallel to the Y axis.

## **Ang**
Creates an xline by a specified angle.
- **Angle of xline:** Specifies the angle of the xline.
- **Reference:** Specifies the angle between xline and a selected reference line. This angle is calculated by anticlockwise direction.

## **Bisect**
Creates an xline through the specified vertex and bisects two lines' intersection angle. This xline is determined by three points.

## **Offset**
Creates an xline parallel to another object.
- **Offset distance:** Specifies the offset distance from the selected object.
- **Through:** Creates an xline that through a specified point and offset from a selected line.
---
**Related References:**
- [Commands about Constructing Geometry (GstarCAD 2026)](../../../2026/Commands/00%20Command%20Groups/Commands%20about%20Constructing%20Geometry.md)
- [Commands about Linear Geometric Objects (GstarCAD 2026)](../../../2026/Commands/00%20Command%20Groups/Commands%20about%20Linear%20Geometric%20Objects.md)
**Related Tasks:**
- [To Work With Points (GstarCAD 2026)](../../../2026/Commands/01%20Procedures/To%20Work%20With%20Points.md)
- [To Create Construction Lines (GstarCAD 2026)](../../../2026/Commands/01%20Procedures/To%20Create%20Construction%20Lines.md)
---
[Original help](https://www.gstarcad.net/help/GstarCAD_2027_en-US/detail/commandReferences_X/XLINE.html) · © Gstarsoft Co., Ltd.