# Javascript: TXTextControl.getDrawingMarkerLines Method

> Gets whether a marker frame is shown around a drawing to indicate its position and size.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Method
- **Introduced:** 28.0
- **Path:** TX Text Control .NET Server > Reference > JavaScript API > Javascript: TXTextControl.getDrawingMarkerLines Method
- **375 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/getdrawingmarkerlines-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/getdrawingmarkerlines-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/getdrawingmarkerlines-method/llms-full.txt

---

### Description

Gets whether a marker frame is shown around a drawing to indicate its position and size.

### Syntax

```javascript
<void> TXTextControl.getDrawingMarkerLines(<RequestBooleanCallback> callback, [<ErrorCallback> errorCallback])
```

### Parameters

| Parameter | Description |
|---|---|
| callback | The callback function that receives the requested value. |
| errorCallback | Optional. Is called when the operation failed with an error. |

### Examples

The following example demonstrates `TXTextControl.getDrawingMarkerLines` in a practical document-editing workflow. It gets whether a marker frame is shown around a drawing to indicate its position and size.

```javascript
function onTxError(error) {
    console.error("TX Text Control error:", error.msg);
    error.handled = true;
}

TXTextControl.getDrawingMarkerLines(
    function(result) {
        if (result) {
            console.log("get drawing marker lines is available.");
        } else {
            console.warn("get drawing marker lines is not available in the current document state.");
        }
    },
    onTxError
);
```

---

## Nearby

- **Previous:** [Javascript: TXTextControl.getDocumentTargetMarkers Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/getdocumenttargetmarkers-method/llms-full.txt)
- **Next:** [Javascript: TXTextControl.getEditableRegionHighlightMode Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/geteditableregionhighlightmode-method/llms-full.txt)
