MeasureTextRF(Text: String; Font: IGxFont; Rect: IGxRectF; Format: IGxStringFormat): IGxRectF;
Text. Text.
Font. Text font.
Rect. Rectangle that sets maximum layout area for the text. If the rectangle with the null sizes is set, it calculates the area that the specified text occupies in accordance with the specified parameters.
Format. Text format.
The MeasureTextRF method calculates the size of the text with the specified format.
The example of use is given in description of the IGxGraphics.DrawTextR, IGxGraphics.DrawTextRF methods.
See also: