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

# XmStringHeight(3)

A compound string function that returns the line height of the given compound string

## NAME

**XmStringHeight** — A compound string function that returns the line height of the given compound string

## SYNOPSIS

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

## DESCRIPTION

**XmStringHeight** returns the height, in pixels, of the sum of all the line heights of the given compound string. Separator components delimit lines.

- *rendertable*

  Specifies the render table

- *string*

  Specifies the string

## RETURN

Returns the height of the specified string.

## RELATED

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