Example #1
0
        internal SLLocation Clone()
        {
            SLLocation loc = new SLLocation();
            loc.Reference = new SLCellPointRange(this.Reference.StartRowIndex, this.Reference.StartColumnIndex, this.Reference.EndRowIndex, this.Reference.EndColumnIndex);
            loc.FirstHeaderRow = this.FirstHeaderRow;
            loc.FirstDataRow = this.FirstDataRow;
            loc.FirstDataColumn = this.FirstDataColumn;
            loc.RowPageCount = this.RowPageCount;
            loc.ColumnsPerPage = this.ColumnsPerPage;

            return loc;
        }
Example #2
0
        internal SLLocation Clone()
        {
            SLLocation loc = new SLLocation();

            loc.Reference       = new SLCellPointRange(this.Reference.StartRowIndex, this.Reference.StartColumnIndex, this.Reference.EndRowIndex, this.Reference.EndColumnIndex);
            loc.FirstHeaderRow  = this.FirstHeaderRow;
            loc.FirstDataRow    = this.FirstDataRow;
            loc.FirstDataColumn = this.FirstDataColumn;
            loc.RowPageCount    = this.RowPageCount;
            loc.ColumnsPerPage  = this.ColumnsPerPage;

            return(loc);
        }