<summary>
Gets common metrics for the font in design units.
These metrics are applicable to all the glyphs within a font,
and are used by applications for layout calculations.
</summary>
<param name="emSize">Logical size of the font in DIP units. A DIP
("device-independent pixel") equals 1/96 inch.</param>
<param name="pixelsPerDip">Number of physical pixels per DIP. For
example, if the DPI of the rendering surface is 96 this value is
1.0f. If the DPI is 120, this value is 120.0f/96.</param>
<param name="transform">Optional transform applied to the glyphs and
their positions. This transform is applied after the scaling
specified by the font size and pixelsPerDip.</param>
<param name="fontMetrics">Font metrics structure to fill in.</param>
<returns>
Standard HRESULT error code.
</returns>
<summary> Gets common metrics for the font in design units. These metrics are applicable to all the glyphs within a font, and are used by applications for layout calculations. </summary> <param name="emSize">Logical size of the font in DIP units. A DIP ("device-independent pixel") equals 1/96 inch.</param> <param name="pixelsPerDip">Number of physical pixels per DIP. For example, if the DPI of the rendering surface is 96 this value is 1.0f. If the DPI is 120, this value is 120.0f/96.</param> <param name="transform">Optional transform applied to the glyphs and their positions. This transform is applied after the scaling specified by the font size and pixelsPerDip.</param> <param name="fontMetrics">Font metrics structure to fill in.</param> <returns> Standard HRESULT error code. </returns>