示例#1
0
        }       //	dump

        /// <summary>
        /// Dump Row
        /// </summary>
        /// <param name="pd">Print Data</param>
        /// <param name="row">row</param>
        private static void DumpRow(PrintData pd, int row)
        {
            if (row < 0 || row >= pd.GetRowCount())
            {
                return;
            }
            pd.SetRowIndex(row);
            if (pd.GetNodeCount() == 0)
            {
                return;
            }
            for (int i = 0; i < pd.GetNodeCount(); i++)
            {
                Object obj = pd.GetNode(i);
                if (obj == null)
                {
                }
                else if (obj.GetType() == typeof(PrintData))
                {
                    Dump((PrintData)obj);
                }
                else if (obj.GetType() == typeof(PrintDataElement))
                {
                }
            }
        }       //	dumpRow
示例#2
0
        }       //	dump

        /// <summary>
        /// Dump all PrintData - header and rows
        /// </summary>
        /// <param name="pd">Print Data</param>
        private static void Dump(PrintData pd)
        {
            DumpHeader(pd);
            for (int i = 0; i < pd.GetRowCount(); i++)
            {
                DumpRow(pd, i);
            }
        }       //	dump