MatrixObject::HasData

Description

Remark Check if MatrixObject has data.

Syntax

BOOL HasData( BOOL bIncludeGrayScale = TRUE )

Parameters

bIncludeGrayScale
[input] TRUE(by default) to include gray scale image, FALSE to not include it.

Return

Return TRUE if the matrix object has data, else FALSE.

Examples

EX1

void   MatrixObject_HasData_Ex1()
{
        MatrixPage mp = Project.MatrixPages(0);
        if(!mp)
                return;

        MatrixObject mo(mp.GetName(), 0);
        if (mo.HasData())
                printf("Matrix has Data\n");
        else
                printf("Matrix has NO Data\n");
}

Remark

See Also

MatrixLayer::HasData

header to Include

origin.h