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 |
); |
Parameters
Return Values
The method supports the standard return values E_UNEXPECTED and E_INVALIDARG, as well as the following:
See Also
IFont::get_Size, IFont::put_Size