Category Custom user interface, Object ProUIDrawingarea

Function ProUIDrawingareaSizeGet


Description
Get the size of the drawing area. This field is used only if the parent is a drawing area.
Synopsis
#include <ProUIDrawingarea.h>
ProErrorProUIDrawingareaSizeGet(
char* dialog
/* (In)
The name of the dialog that contains the drawing area.
*/
char* component
/* (In)
The name of the drawing area component.
*/
int* width
/* (Out)
Width of the drawing area.
*/
int* height
/* (Out)
Height of 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