API 文件集 > Custom user interface > Object ProUILayout > Function ProUILayoutSizeSet
Function ProUILayoutSizeSet
Description
Set the size of the layout. 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 layout's minimum size, the function will fail. The layout's minimum size can be retrieved using ProUILayoutMinimumsizeGet.
Synopsis
#include <ProUILayout.h>
ProUILayoutSizeSet
(
char* dialog
/* (In)
The name of the dialog that contains layout.
*/
char* component
/* (In)
The name of the layout 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
這是否有幫助?