Harness proD API Help
EPLAN.Harness.API.Projects.Documents Namespace / ReportData Structure / Item Property
Example
In This Topic
    Item Property (ReportData)
    In This Topic
    Access a field in a table.
    Overload List
    OverloadDescription
    Access a field in a table.  
    Access a field in a table.  
    Exceptions
    ExceptionDescription
    Coordinates are out of bounds. See ColumnCount and RowCount.
    Example
    // Print the first row:
    Console.WriteLine("First row:");
    for (int i = 0; i < reportTable.ColumnCount; i++)
    {
    	// You can use coordinates for indexing. Note that unused columns are also present in the table.
    	Property value = reportTable[0, i];
    	
    	// Empty fields are set to null.
    	if (value != null)
    		Console.Write($"{value.ToString()}; ");
    	else
    		Console.Write("<empty>; ");
    }
    Console.WriteLine();
    See Also