Пример #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;
        }
Пример #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);
        }