ITextFont2::GetScaling method

Gets the font horizontal scaling percentage.

Syntax


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

Parameters

pValue [out, retval]

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

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Tom.h

DLL

Msftedit.dll

See also

ITextFont2
ITextFont2::SetScaling

 

 

Community Additions

ADD
Show:
© 2014 Microsoft