nw::font::CharWriter::GetFontHeight Member Function

Syntax

f32 GetFontHeight() const;

Arguments

None.

Return Values

When the font is set, this function gets the cell height in pixels after enlargement. The return value is undefined if no font has been set.

Description

Gets the cell height after enlargement.

Use the following to get the cell height before enlargement:

writer.GetFont()->GetCellHeight();	// writer is an instance of CharWriter

See Also

nw::font::CharWriter::SetFontSize
nw::font::CharWriter::GetFontWidth

Revision History

2009/11/09
Initial version.

CONFIDENTIAL