2.2.4.34.16 PageBase::Label

ClassName

PageBase

AccessType

public

Name

Label

Declaration

string Label

Remark

Data member that contains the label text associated with the Page object.

Examples

EX1

int PageBase_Label_ex1()
{
    WorksheetPage wp;
    if( wp.Create("origin", CREATE_VISIBLE_SAME) )
    {
        wp.Label = "My Label";
        wp.TitleShow = WIN_TITLE_SHOW_BOTH;
        printf("Worksheet '%s' has label '%s'\n", wp.GetName(), wp.Label);
    }
    else
        printf("Failed to create worksheet page.\n");
    return 0;
}

Description

Page label.

Header to Include

origin.h

See Also

PageBase::TitleShow

Reference