This project has moved and is read-only. For the latest updates, please go here.

Dimension is throwing null reference

Sep 1, 2015 at 3:55 PM
Hi All,

Can anybody please help why my Dimension object is null?

public class ExcelWorksheet : XmlHelper, IDisposable
{
    // Summary:
    //     A worksheet
    //
    // Parameters:
    //   ns:
    //     Namespacemanager
    //
    //   excelPackage:
    //     Package
    //
    //   relID:
    //     Relationship ID
    //
    //   uriWorksheet:
    //     URI
    //
    //   sheetName:
    //     Name of the sheet
    //
    //   sheetID:
    //     Sheet id
    //
    //   positionID:
    //     Position
    //
    //   hide:
    //     hide
    public ExcelWorksheet(XmlNamespaceManager ns, ExcelPackage excelPackage, string relID, Uri uriWorksheet, string sheetName, int sheetID, int positionID, eWorkSheetHidden hide);



    // Summary:
    //     Dimension address for the worksheet. Top left cell to Bottom right.  If the
    //     worksheet has no cells, null is returned
    public ExcelAddressBase Dimension { get; }
Thaanks