Click or drag to resize
ExcelRectIsValid Method
Determines whether the RangeAddress specified in constructor is valid.

Namespace: Aceoffix.Utilities
Assembly: Aceoffix (in Aceoffix.dll) Version: 5.0.0.1
Syntax
public bool IsValid()

Return Value

Type: Boolean
true if the specified RangeAddress is valid; otherwise, false.
Remarks
Determines whether the RangeAddress specified in constructor is valid.
Examples
Aceoffix.Utilities.ExcelRect eRect = new Aceoffix.Utilities.ExcelRect("A1:F8");
if(eRect.IsValid())
{
    int iStartCol = eRect.left;
    int iStartRow = eRect.top;
    int iEndCol = eRect.right;
    int iEndRow = eRect.bottom;

    // Do someting.
}
See Also