---
title: "markupToolbarViewController(_:insertNewLineWithStartMarker:endMarker:)"
framework: paperkit
role: symbol
role_heading: Instance Method
path: "paperkit/markuptoolbarviewcontroller/delegate-swift.protocol/markuptoolbarviewcontroller(_:insertnewlinewithstartmarker:endmarker:)"
---

# markupToolbarViewController(_:insertNewLineWithStartMarker:endMarker:)

Add a new line on top of the paper.

## Declaration

```swift
func markupToolbarViewController(_ markupToolbarViewController: MarkupToolbarViewController, insertNewLineWithStartMarker lineStartMarker: Bool, endMarker lineEndMarker: Bool)
```

## Parameters

- `markupToolbarViewController`: The source of the action.
- `lineStartMarker`: True if the start of the line has a marker / arrow.
- `lineEndMarker`: True if the end of the line has a marker / arrow.

## See Also

### Inserting content

- [markupToolbarViewController(_:insertNewShape:)](paperkit/markuptoolbarviewcontroller/delegate-swift.protocol/markuptoolbarviewcontroller(_:insertnewshape:).md)
- [markupToolbarViewControllerInsertNewTextbox(_:)](paperkit/markuptoolbarviewcontroller/delegate-swift.protocol/markuptoolbarviewcontrollerinsertnewtextbox(_:).md)
- [markupToolbarViewController(_:insertNewContents:)](paperkit/markuptoolbarviewcontroller/delegate-swift.protocol/markuptoolbarviewcontroller(_:insertnewcontents:).md)
