API 文档 > Creo Parametric user interface > Object ProUIDashboardpageoptions > Function ProUIDashboardpageoptionsAlloc
Function ProUIDashboardpageoptionsAlloc
Description
Allocates a handle representing a single page (or layout) that will be shown in a dashboard.
Synopsis
#include <ProUIDashboard.h>
ProUIDashboardpageoptionsAlloc
(
char* page_name
/* (In)
The page name (must be unique).
*/
char* resource_name
/* (In)
Name of the resource file to use (whose top component must be a layout, not a dialog). If NULL, an empty default layout is used.
*/
ProAppData application_data
/* (In)
Application data stored for the page.
*/
/* (Out)
A handle representing a dashboard page.
*/
)
Returns
The function succeeded.
One or more input arguments was invalid.
Sample Code References
这对您有帮助吗?