API Documentation > Custom user interface > Object ProUIDrawingarea > Function ProUIDrawingareaSizeSet
Function ProUIDrawingareaSizeSet
Description
Set the size of the drawingarea. This field is used only if the parent is a drawing area. If the width or the height parameter is passed a value smaller than the drawingarea's minimum size, the function will fail. The drawingarea's minimum size can be retrieved using ProUIDrawingareaMinimumsizeGet.
Synopsis
ProUIDrawingareaSizeSet
(
char* dialog
/* (In)
The name of the dialog that contains drawingarea.
*/
char* component
/* (In)
The name of the drawingarea component.
*/
int width
/* (In)
Width value
*/
int height
/* (In)
Height value
*/
)
Returns
The function succeeded.
The function failed.
One or more input arguments was invalid.
User Guide References
Was this helpful?