---
name: "GdipGetFontSize"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/GdipGetFontSize"
---

# GdipGetFontSize(3w)

## NAME

**GdipGetFontSize** (GDIPLUS.@)

## SYNOPSIS

GpStatus WINGDIPAPI  GdipGetFontSize\
  (\
   GpFont\* *font*,\
   REAL\*   *size*\
  )

## DESCRIPTION

Returns the *size* of the *font* in Units.

## PARAMS

\**font* **\[In\]**  The *font* to retrieve *size* from.

\**size* **\[Out\]**  Pointer to hold retrieved value.

## RETURNS

**SUCCESS:** Ok

**FAILURE:** InvalidParameter (*font* or *size* was **NULL**).

## NOTES

Size returned is actually emSize **--** not internal *size* used for drawing.

## IMPLEMENTATION

Declared in **"gdiplusflat.h"**.

Implemented in **"dlls/gdiplus/font.c"**.
