|
| Size | MeasureString (string text, RenderFont font) |
| | Returns size of the text. Resulted height will be maximum of possible font height. Use when your text will change.
|
| |
| Rectangle | MeasureStringWithOverhang (string text, RenderFont renderFont) |
| | Returns the smallest rectangle that text will fit. Height will depend on actual drawing characters.
|
| |
◆ MeasureString()
| Size OFT.Rendering.Context.IStringMeasure.MeasureString |
( |
string |
text, |
|
|
RenderFont |
font |
|
) |
| |
Returns size of the text. Resulted height will be maximum of possible font height. Use when your text will change.
- Parameters
-
- Returns
Implemented in OFT.Rendering.Context.RenderContext.
◆ MeasureStringWithOverhang()
| Rectangle OFT.Rendering.Context.IStringMeasure.MeasureStringWithOverhang |
( |
string |
text, |
|
|
RenderFont |
renderFont |
|
) |
| |
The documentation for this interface was generated from the following file: