---
title: Adding Text to a Line
description: Label a line by selecting it and typing, then control where the text sits along the line.
---

[Skip to content](https://support.smartdraw.com/adding-text-to-a-line#main-content)

English - United States

Show submenu for translations

[Submit a Request](https://support.smartdraw.com/kb-tickets/new?hsLang=en-us)

![](https://support.smartdraw.com/hubfs/smartdraw-logo-2022.svg)

Open main navigation

Close main navigation

- English - United States
  
  Show submenu for translations
- [Submit a Request](https://support.smartdraw.com/kb-tickets/new)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [SmartDraw Knowledge Base](https://support.smartdraw.com/?hsLang=en-us)
2. [Reference](https://support.smartdraw.com/reference?hsLang=en-us)
3. [Lines](https://support.smartdraw.com/reference?hsLang=en-us#lines)

# Adding Text to a Line

In addition to adding text to shapes, you can also label lines with text. To do this, simply select a line and begin typing. A text object will be created and attached to the line, normally in the center.

![](https://support.smartdraw.com/hubfs/Knowledge%20Base%20Import/360058579511-3.png)

This text object will remain attached to line when you move it. It can change its orientation to match that of the line, or it can remain horizontal. You control this in the **Text Direction** menu on the Design tab.

![](https://support.smartdraw.com/hubfs/Knowledge%20Base%20Import/17989509345044-3.png)

There are two choices: **Along the Line**, and **Horizontally.**

![](https://support.smartdraw.com/hubfs/Knowledge%20Base%20Import/360058415852-3.png)

The text is positioned on the line according to the current text alignment setting for the *line* (not the text object attached to it). You can change this by selecting the *line* and using the **Text Align** command on the **Design** tab.

![](https://support.smartdraw.com/hubfs/Knowledge%20Base%20Import/17989509346964-3.png)

Using the **Text Align** menu, you can also move the text above and below the line.

![](https://support.smartdraw.com/hubfs/Knowledge%20Base%20Import/17989522175764-3.png)

When the text is added on top of the line, the text is automatically given an opaque background that hides the line underneath. You can show the line through the text by selecting the *text object* itself and changing its fill to "No Fill" using the **Fill** menu on the **Home** tab.

![](https://support.smartdraw.com/hubfs/Knowledge%20Base%20Import/17989549019284-3.png)

You can also change the fill to another color.

![](https://support.smartdraw.com/hubfs/Knowledge%20Base%20Import/360058579691-3.png)

You can also change the color and style of the text to match your diagram using the text controls on the **Home** tab.

![](https://support.smartdraw.com/hubfs/Knowledge%20Base%20Import/17989509349524-3.png)

 

 

 

- [The Basics](https://support.smartdraw.com/the-basics?hsLang=en-us#main-content)
  
  
  
  
  
    - [Getting Started](https://support.smartdraw.com/the-basics?hsLang=en-us#getting-started)
    - [Selection](https://support.smartdraw.com/the-basics?hsLang=en-us#selection)
    - [Moving & Sizing](https://support.smartdraw.com/the-basics?hsLang=en-us#moving-sizing)
    - [Text Entry](https://support.smartdraw.com/the-basics?hsLang=en-us#text-entry)
    - [File Saving](https://support.smartdraw.com/the-basics?hsLang=en-us#file-saving)
- [How to Draw Anything](https://support.smartdraw.com/how-to-draw-anything?hsLang=en-us#main-content)
  
  
  
  
  
    - [Getting Started](https://support.smartdraw.com/how-to-draw-anything?hsLang=en-us#getting-started)
    - [Popular Diagrams](https://support.smartdraw.com/how-to-draw-anything?hsLang=en-us#popular-diagrams)
    - [Other Diagrams](https://support.smartdraw.com/how-to-draw-anything?hsLang=en-us#other-diagrams)
- [FAQ](https://support.smartdraw.com/faq?hsLang=en-us#main-content)
  
  
  
  
  
    - [Ordering Questions](https://support.smartdraw.com/faq?hsLang=en-us#ordering-questions)
    - [Trials](https://support.smartdraw.com/faq?hsLang=en-us#trials)
    - [Subscriptions](https://support.smartdraw.com/faq?hsLang=en-us#subscriptions)
    - [Printing](https://support.smartdraw.com/faq?hsLang=en-us#printing)
- [My Account](https://support.smartdraw.com/my-account?hsLang=en-us#main-content)
  
  
  
  
  
    - [All Users](https://support.smartdraw.com/my-account?hsLang=en-us#all-users)
    - [Multi-Seat and Enterprise](https://support.smartdraw.com/my-account?hsLang=en-us#multi-seat-and-enterprise)
    - [Enterprise](https://support.smartdraw.com/my-account?hsLang=en-us#enterprise)
- [Templates & Documents](https://support.smartdraw.com/templates-documents?hsLang=en-us#main-content)
  
  
  
  
  
    - [Templates](https://support.smartdraw.com/templates-documents?hsLang=en-us#templates)
    - [My Documents](https://support.smartdraw.com/templates-documents?hsLang=en-us#my-documents)
    - [File Storage](https://support.smartdraw.com/templates-documents?hsLang=en-us#file-storage)
- [Videos](https://support.smartdraw.com/videos?hsLang=en-us#main-content)
  
  
  
  
  
    - [Diagramming Basics and Tips](https://support.smartdraw.com/videos?hsLang=en-us#diagramming-basics-and-tips)
    - [How to Draw Every Type of Diagram](https://support.smartdraw.com/videos?hsLang=en-us#how-to-draw-every-type-of-diagram)
    - [Advanced Diagramming with Data](https://support.smartdraw.com/videos?hsLang=en-us#advanced-diagramming-with-data)
    - [Sharing and Integrations](https://support.smartdraw.com/videos?hsLang=en-us#sharing-and-integrations)
    - [Managing Your License, Users, and Account](https://support.smartdraw.com/videos?hsLang=en-us#managing-your-license-users-and-account)
- [SmartDraw AI](https://support.smartdraw.com/smartdraw-ai?hsLang=en-us#main-content)
  
  
  
  
  
    - [AI Diagramming](https://support.smartdraw.com/smartdraw-ai?hsLang=en-us#ai-diagramming)
    - [MCP Server](https://support.smartdraw.com/smartdraw-ai?hsLang=en-us#mcp-server)
    - [Managing AI Access](https://support.smartdraw.com/smartdraw-ai?hsLang=en-us#managing-ai-access)
- [Collaboration](https://support.smartdraw.com/collaboration?hsLang=en-us#main-content)
  
  
  
  
  
    - [Collaboration](https://support.smartdraw.com/collaboration?hsLang=en-us#collaboration)
    - [Export](https://support.smartdraw.com/collaboration?hsLang=en-us#export)
    - [Whiteboarding](https://support.smartdraw.com/collaboration?hsLang=en-us#whiteboarding)
- [Integrations](https://support.smartdraw.com/integrations?hsLang=en-us#main-content)
  
  
  
  
  
    - [Storage](https://support.smartdraw.com/integrations?hsLang=en-us#storage)
    - [Apps](https://support.smartdraw.com/integrations?hsLang=en-us#apps)
    - [Visualizers](https://support.smartdraw.com/integrations?hsLang=en-us#visualizers)
- [Diagrams from Data](https://support.smartdraw.com/diagrams-from-data?hsLang=en-us#main-content)
  
  
  
  
  
    - [Data Visualizers](https://support.smartdraw.com/diagrams-from-data?hsLang=en-us#data-visualizers)
    - [Charts, Graphs, and Gauges](https://support.smartdraw.com/diagrams-from-data?hsLang=en-us#charts-graphs-and-gauges)
    - [Shape Data](https://support.smartdraw.com/diagrams-from-data?hsLang=en-us#shape-data)
    - [Custom Visualization](https://support.smartdraw.com/diagrams-from-data?hsLang=en-us#custom-visualization)
- [Reference](https://support.smartdraw.com/reference?hsLang=en-us#main-content)
  
  
  
  
  
    - [Symbols](https://support.smartdraw.com/reference?hsLang=en-us#symbols)
    - [Connectors](https://support.smartdraw.com/reference?hsLang=en-us#connectors)
    - [Lines](https://support.smartdraw.com/reference?hsLang=en-us#lines)
    - [Arranging Shapes](https://support.smartdraw.com/reference?hsLang=en-us#arranging-shapes)
    - [Colors & Styles](https://support.smartdraw.com/reference?hsLang=en-us#colors-styles)
    - [Dimensions](https://support.smartdraw.com/reference?hsLang=en-us#dimensions)
    - [Floor Planning Tips](https://support.smartdraw.com/reference?hsLang=en-us#floor-planning-tips)
    - [Enhancing Shapes](https://support.smartdraw.com/reference?hsLang=en-us#enhancing-shapes)
    - [Workspace](https://support.smartdraw.com/reference?hsLang=en-us#workspace)
    - [Layers](https://support.smartdraw.com/reference?hsLang=en-us#layers)
    - [Grouping](https://support.smartdraw.com/reference?hsLang=en-us#grouping)
    - [Tables](https://support.smartdraw.com/reference?hsLang=en-us#tables)
    - [Containers](https://support.smartdraw.com/reference?hsLang=en-us#containers)
- [Printing](https://support.smartdraw.com/printing?hsLang=en-us#main-content)
  
  
  
  
  
    - [Printing](https://support.smartdraw.com/printing?hsLang=en-us#printing)

[![](https://support.smartdraw.com/hubfs/smartdraw-logo-2022.svg)](https://www.smartdraw.com/)

Copyright © 1994-2026 SmartDraw, LLC

<https://www.linkedin.com/company/smartdraw-software-llc/> <https://www.youtube.com/smartdraw> <https://www.facebook.com/SmartDraw> <https://twitter.com/smartdraw> <https://www.instagram.com/smartdrawvisuals/> <http://tiktok.com/@smartdrawapp>

 