IDWriteFontFace::GetStretch Method

Obtains the stretch of a font face.

Syntax

virtual HRESULT GetStretch(
  [out]  DWRITE_FONT_STRETCH * fontStretch
) = 0;

Parameters

  • fontStretch [out]
    A value indicating the type of font stretch, or width, of a font face.

Return Value

If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008

Header

Dwrite.h

Library

Dwrite.lib

DLL

Dwrite.dll

See Also

IDWriteFontFace

 

 

Send comments about this topic to Microsoft

Build date: 4/7/2010