---
name: "FcPatternGet"
section: "3"
platform: "linux"
package: "fontconfig"
version: "2:2.18.3-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/FcPatternGet"
---

# FcPatternGet(3)

Return a value from a pattern

## NAME

FcPatternGet - Return a value from a pattern

## SYNOPSIS

**#include \<fontconfig/fontconfig.h\>**

**FcResult FcPatternGet (FcPattern \****p***, const char \****object***, int** *id***, FcValue \****v***);**

## DESCRIPTION

Returns in *v* the *id*'th value associated with the property *object*. The value returned is not a copy, but rather refers to the data stored within the pattern directly.  Applications must not free this value.
