Table of Contents

 
SetFontPoint
 

Purpose

Sets a new point size for the text font

 

Protoype

void CTextMngr::SetFontPoint (string str_text_id, int i_point)
 

Parameters

text_id the ID of the text object to change
point the new font point size
 

Description

This function takes a text object and a numerical value and sets the font point size of the text object.

 

Use

CTextMngr text;
text.SetFontPoint("my_text", 12);
 

Prev: SetFontForeColor