---
name: "XmStringBaseline"
section: "3"
platform: "linux"
package: "openmotif"
version: "2.3.8-4"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/XmStringBaseline"
---

# XmStringBaseline(3)

A compound string function that returns the number of pixels between the top of the character box and the baseline of the first line of text

## NAME

**XmStringBaseline** — A compound string function that returns the number of pixels between the top of the character box and the baseline of the first line of text

## SYNOPSIS

```
#include <Xm/Xm.h>
Dimension XmStringBaseline(
XmRenderTable rendertable,
XmString string);
```

## DESCRIPTION

**XmStringBaseline** returns the number of pixels between the top of the character box and the baseline of the first line of text in the provided compound string.

- *rendertable*

  Specifies the render table

- *string*

  Specifies the string

## RETURN

Returns the number of pixels between the top of the character box and the baseline of the first line of text.

## RELATED

[**XmStringCreate**(3)](/XmStringCreate/3.md).
