---
title: planLabelLines
summary: Function in @bimworks/viewercommon.
order: 10
languages: [javascript]
sdk-package: JavaScript · @bimworks/viewercommon
---

# planLabelLines

[[page:reference/javascript/api|API catalogue]] · `@bimworks/viewercommon` · Function

````typescript sdk=js sdk-namespace="@bimworks/viewercommon"
function planLabelLines
````



## Members

| Member | Kind | Description |
|---|---|---|
| [[page:reference/javascript/bimworks-viewercommon/planlabellines-55996ea1#member-bimworks-viewercommon-planlabellines-1bd929008b98|planLabelLines]] | Method | The lines of a label as strings; empty lines are left out |

## `planLabelLines` {#member-bimworks-viewercommon-planlabellines-1bd929008b98}

````typescript sdk=js sdk-namespace="@bimworks/viewercommon"
planLabelLines(label: (unknown)[] | Label): (string)[]
````

The lines of a label as strings; empty lines are left out

### Parameters

| Name | Type | Description |
|---|---|---|
| `label` | `(unknown)[] \| Label` |  |
