Table of Contents

 
GetTextY
 

Purpose

Gets the Y location of the text object

 

Protoype

int CTextMngr::GetTextY (string str_text_id)
 

Parameters

text_id the ID of the text object to query
 

Description

This function queries the given text object and returns its current Y coordinate location on the screen.

 

Use

CTextMngr text;
int ypos = text.GetTextY("my_text");
 

Prev: GetTextX