Converts the scaling factor for this font between logical units and HIMETRIC units. HIMETRIC units are used to express the point size in the IFont::get_Size and IFont::put_Size methods. The values passed to IFont::SetRatio are used to compute the display size of the font in logical units from the value in the Size property:
Display Size= (cyLogical/cyHimetric) * Size
HRESULT SetRatio(
long cyLogical, //Font size in logical units
long cyHimetric //Font size in HIMETRIC units
);
The method supports the standard return values E_UNEXPECTED and E_INVALIDARG, as well as the following:
Windows NT: Use version 4.0 or later.
Windows: Use Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in ocidl.h.
IFont::get_Size, IFont::put_Size