Category Custom user interface, Object ProUIDrawingarea

Function ProUIDrawingareaStringsizeGet


Description
Get the size that the given text string will occupy in the drawing area, given the current drawing area font settings.
Synopsis
#include <ProUIDrawingarea.h>
ProErrorProUIDrawingareaStringsizeGet(
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.
*/
ProUISize* size
/* (Out)
Size that the text string will occupy in the drawing area.
*/
)
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