2.2.4.32.37 OriginObject::OriginObject

Description

Default constructor for OriginObject.

Syntax

OriginObject( )

Parameters

Return

Examples

EX1

// Find first page in project (if any exist)
int OriginObject_OriginObject_ex1()
{
    OriginObject oo;
    oo = (OriginObject) Project.Pages(0); // Get active PageBase as OriginObject
    if( oo.IsValid() )
    {
        printf("Page is Valid!\n");
        printf("The Page's (Short) Name is %s.\n", oo.GetName());
        printf("The Page's Long Name is %s.\n", oo.GetLongName());
    }
    else
        out_str("Page is not Valid!");
    return 0;
}

Remark

Default constructor for OriginObject. OriginObject is the Origin C base class for all Origin

objects and provides member functions and data members common to all Origin objects.

See Also

Page::Page, Layer::Layer, Column::Column, GraphObject::GraphObject, DataPlot::DataPlot

Header to Include

origin.h