Пример #1
0
 /// <summary>
 /// Constructor with address as string
 /// </summary>
 /// <param name="address">Address string (e.g. 'A1:B12')</param>
 /// <param name="type">Optional referencing type of the address</param>
 public Address(string address, Cell.AddressType type = Cell.AddressType.Default)
 {
     Type = type;
     Cell.ResolveCellCoordinate(address, out Column, out Row);
 }
Пример #2
0
 /// <summary>
 /// Constructor with row and column as arguments
 /// </summary>
 /// <param name="column">Column number (zero based)</param>
 /// <param name="row">Row number (zero based)</param>
 /// <param name="type">Optional referencing type of the address</param>
 public Address(int column, int row, Cell.AddressType type = Cell.AddressType.Default)
 {
     Column = column;
     Row    = row;
     Type   = type;
 }