Category Custom user interface, Object ProUIDrawingarea

Function ProUIDrawingareaStringbaselineGet


Description
Get the height from the top of the string border to the string baseline for the given text string in the drawing area, given the current drawing area font settings.
Synopsis
#include <ProUIDrawingarea.h>
ProErrorProUIDrawingareaStringbaselineGet(
char* dialog
/* (In)
The name of the dialog that contains the drawing area.
*/
char* component
/* (In)
The name of the drawing area component.
*/
wchar_t* string
/* (In)
Text string.
*/
int* baseline
/* (Out)
Position from the baseline.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_GENERAL_ERRORThe function failed.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.

Manual References:

  1. User Interface: Dialogs: Drawing Area Operations
  2. User Interface: Dialogs: Drawing Area Operations