---
title: "init(startLine:startColumn:endLine:endColumn:)"
framework: foundation
role: symbol
role_heading: Initializer
path: "foundation/attributedstring/markdownsourceposition/init(startline:startcolumn:endline:endcolumn:)"
---

# init(startLine:startColumn:endLine:endColumn:)

Creates a Markdown source position instance from its start and end line and column.

## Declaration

```swift
init(startLine: Int, startColumn: Int, endLine: Int, endColumn: Int)
```

## Parameters

- `startLine`: The line where the text begins in the Markdown source.
- `startColumn`: The column where the text begins in the Markdown source.
- `endLine`: The line where the text ends in the Markdown source.
- `endColumn`: The column where the text ends in the Markdown source.
