Matrix::GetName

Description

Get the name of an internal Origin Matrix.

Syntax

string GetName( )

Parameters

Return

Returns the name of an internal Origin Matrix.

Examples

EX1

// Get the name of Origin C Matrix
void Matrix_GetName_ex1()
{
    MatrixPage MatPg1;
    MatPg1.Create("Origin");
    MatrixLayer MatLy1 = MatPg1.Layers(0);
    Matrix Mat1(MatLy1);
    printf("  Matrix %s is created. The size is %dx%d.\n",
    Mat1.GetName(), Mat1.GetNumRows(), Mat1.GetNumCols());
}

Remark

Get the name of the internal Origin matrix attached to this Origin C Matrix object.

See Also

header to Include

origin.h