API 文件集 > Custom user interface > Object ProUIDrawingarea > Function ProUIDrawingareaPositionGet
Function ProUIDrawingareaPositionGet
Description
Get the position of the drawing area with respect to its parent. This field is used only if the parent is a drawing area.
Synopsis
ProUIDrawingareaPositionGet
(
char* dialog
/* (In)
The name of the dialog that contains the drawing area.
*/
char* component
/* (In)
The name of the drawing area component.
*/
int* x
/* (Out)
X value with respect to the upper left corner of the parent.
*/
int* y
/* (Out)
Y value with respect to the upper left corner of the parent.
*/
)
Returns
The function succeeded.
The function failed.
One or more input arguments was invalid.
這是否有幫助?