GraphControl::GetPage

Description

Syntax

GraphPage GetPage( )

Parameters

Return

Returns the Graphic page

Examples

EX1

#include <Origin.h>
#include <..\OriginLab\DialogEx.h>

#define IDC_TWOGRAPHS_GRAPH1 1001

static BOOL OnInitDialog(Dialog & GraphDlg)
{
    GraphControl og1 = GraphDlg.GetItem(IDC_TWOGRAPHS_GRAPH1);
    // must create Origin graph
    og1.Create(NOCLICK_AXES | NOCLICK_TICKLABEL | NOCLICK_LAYERICON);
    
    GraphPage gp;
    gp = og1.GetPage();
    return TRUE;
}

Remark

See Also

header to Include

Control.h