|
NanoXLSX.Core 3.0.0-rc.3
|
Struct representing the cell address as column and row (zero based). More...
Public Member Functions | |
| Address (int column, int row) | |
| Constructor with row and column as arguments. The referencing type of the address is default (e.g. 'C20'). | |
| Address (int column, int row, Cell.AddressType type) | |
| Constructor with row and column as arguments. All referencing modifiers ($) are ignored and only the defined referencing type considered. | |
| Address (string address) | |
| Constructor with address as string. If no referencing modifiers ($) are defined, the address is of referencing type default (e.g. 'C23'). | |
| Address (string address, Cell.AddressType type) | |
| Constructor with address as string. All referencing modifiers ($) are ignored and only the defined referencing type considered. | |
| string | GetAddress () |
| Returns the combined Address. | |
| string | GetColumn () |
| Gets the column address (A - XFD). | |
| override string | ToString () |
| Overwritten ToString method. | |
| bool | Equals (Address other) |
| Compares two addresses whether they are equal. | |
| override bool | Equals (object obj) |
| Compares two objects whether they are addresses and equal. | |
| override int | GetHashCode () |
| Gets the hash code based on the string representation of the address. | |
| int | CompareTo (Address other) |
| Compares two addresses using the column and row numbers. | |
Static Public Member Functions | |
| static bool | operator== (Address address1, Address address2) |
| Determines whether two Address instances are equal. | |
| static bool | operator!= (Address address1, Address address2) |
| Determines whether two Address instances are not equal. | |
| static bool | operator< (Address left, Address right) |
| Determines whether one specified Address is less/smaller than another specified Address. | |
| static bool | operator<= (Address left, Address right) |
| Determines whether one specified Address is less/smaller or equal than another specified Address. | |
| static bool | operator> (Address left, Address right) |
| Determines whether one specified Address is greater/larger than another specified Address. | |
| static bool | operator>= (Address left, Address right) |
| Determines whether one specified Address is greater/larger or equal than another specified Address. | |
Properties | |
| int | Column [get] |
| Column number (zero based). | |
| int | Row [get] |
| Row number (zero based). | |
| Cell.AddressType | Type [get] |
| Referencing type of the address. | |
Struct representing the cell address as column and row (zero based).
Definition at line 15 of file Address.cs.
| NanoXLSX.Address.Address | ( | int | column, |
| int | row ) |
Constructor with row and column as arguments. The referencing type of the address is default (e.g. 'C20').
| column | Column number (zero based) |
| row | Row number (zero based) |
Definition at line 40 of file Address.cs.
| NanoXLSX.Address.Address | ( | int | column, |
| int | row, | ||
| Cell.AddressType | type ) |
Constructor with row and column as arguments. All referencing modifiers ($) are ignored and only the defined referencing type considered.
| column | Column number (zero based) |
| row | Row number (zero based) |
| type | Referencing type of the address |
Definition at line 51 of file Address.cs.
| NanoXLSX.Address.Address | ( | string | address | ) |
Constructor with address as string. If no referencing modifiers ($) are defined, the address is of referencing type default (e.g. 'C23').
| address | Address string (e.g. '$B$12') |
Definition at line 64 of file Address.cs.
| NanoXLSX.Address.Address | ( | string | address, |
| Cell.AddressType | type ) |
Constructor with address as string. All referencing modifiers ($) are ignored and only the defined referencing type considered.
| address | Address string (e.g. 'B12') |
| type | Referencing type of the address |
Definition at line 74 of file Address.cs.
| int NanoXLSX.Address.CompareTo | ( | Address | other | ) |
Compares two addresses using the column and row numbers.
| other | Other address |
Definition at line 174 of file Address.cs.
| bool NanoXLSX.Address.Equals | ( | Address | other | ) |
Compares two addresses whether they are equal.
| other | Other address |
Definition at line 112 of file Address.cs.
| override bool NanoXLSX.Address.Equals | ( | object | obj | ) |
Compares two objects whether they are addresses and equal.
| obj | Other address |
Definition at line 125 of file Address.cs.
| string NanoXLSX.Address.GetAddress | ( | ) |
Returns the combined Address.
Definition at line 84 of file Address.cs.
| string NanoXLSX.Address.GetColumn | ( | ) |
Gets the column address (A - XFD).
Definition at line 93 of file Address.cs.
| override int NanoXLSX.Address.GetHashCode | ( | ) |
Gets the hash code based on the string representation of the address.
Definition at line 138 of file Address.cs.
Determines whether two Address instances are not equal.
| address1 | The first Address instance to compare. |
| address2 | The second Address instance to compare. |
true if the two Address instances are not equal; otherwise, false.Definition at line 164 of file Address.cs.
Determines whether one specified Address is less/smaller than another specified Address.
| left | Left address |
| right | Right address |
Definition at line 187 of file Address.cs.
Determines whether one specified Address is less/smaller or equal than another specified Address.
| left | Left address |
| right | Right address |
Definition at line 198 of file Address.cs.
Determines whether one specified Address is greater/larger than another specified Address.
| left | Left address |
| right | Right address |
Definition at line 209 of file Address.cs.
Determines whether one specified Address is greater/larger or equal than another specified Address.
| left | Left address |
| right | Right address |
Definition at line 220 of file Address.cs.
| override string NanoXLSX.Address.ToString | ( | ) |
Overwritten ToString method.
Definition at line 102 of file Address.cs.
|
get |
Column number (zero based).
Definition at line 24 of file Address.cs.
|
get |
Row number (zero based).
Definition at line 28 of file Address.cs.
|
get |
Referencing type of the address.
Definition at line 33 of file Address.cs.