ITextFont2::GetScaling method (tom.h)

Gets the font horizontal scaling percentage.

Syntax

HRESULT GetScaling(
  [out, retval] long *pValue
);

Parameters

[out, retval] pValue

Type: long*

The scaling percentage.

Return value

Type: HRESULT

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

Remarks

The font horizontal scaling percentage can range from 200, which doubles the widths of characters, to 0, where no scaling is performed. When the percentage is increased the height does not change.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header tom.h
DLL Msftedit.dll

See also

ITextFont2

ITextFont2::SetScaling