ExcelDna.Integration.ExcelReference.ExcelReference C# (CSharp) Method

ExcelReference() public method

public ExcelReference ( int rowFirst, int rowLast, int columnFirst, int columnLast, string sheetName ) : System
rowFirst int
rowLast int
columnFirst int
columnLast int
sheetName string
return System
        public ExcelReference(int rowFirst, int rowLast, int columnFirst, int columnLast, string sheetName)
        {
            ExcelReference sheetRef = (ExcelReference)XlCall.Excel(XlCall.xlSheetId, sheetName);
            this.sheetId = sheetRef.SheetId;
            ExcelRectangle rect = new ExcelRectangle(rowFirst, rowLast, columnFirst, columnLast);
            rectangles.Add(rect);
        }

Same methods

ExcelReference::ExcelReference ( int row, int column ) : System
ExcelReference::ExcelReference ( int rowFirst, int rowLast, int columnFirst, int columnLast ) : System
ExcelReference::ExcelReference ( int rowFirst, int rowLast, int columnFirst, int columnLast, IntPtr sheetId ) : System