Hi nicolas,
You can use code such as below:
Easwar
OriginLab
void page_label()
{
WorksheetPage wpg = Project.Pages();
string strLabel;
strLabel = wpg.Label;
printf("Page label currently is: %s\n", strLabel);
wpg.Label = "New Label";
wpg.TitleShow = WIN_TITLE_SHOW_BOTH;
printf("New label is: %s\n", wpg.Label);
}