public void removeHyperlink() {for (Iterator<RecordBase> it = _sheet.getSheet().getRecords().iterator(); it.hasNext();) {RecordBase rec = it.next();if (rec instanceof HyperlinkRecord) {HyperlinkRecord link = (HyperlinkRecord) rec;if (link.getFirstColumn() == _record.getColumn() && link.getFirstRow() == _record.getRow()) {it.remove();return;}}}}
public void RemoveHyperlink(){RecordBase toRemove = null;for (IEnumerator<RecordBase> it = _sheet.Sheet.Records.GetEnumerator(); it.MoveNext(); ){RecordBase rec = it.Current;if (rec is HyperlinkRecord){HyperlinkRecord link = (HyperlinkRecord)rec;if (link.FirstColumn == _record.Column && link.FirstRow == _record.Row){toRemove = rec;break;}}}if (toRemove != null)_sheet.Sheet.Records.Remove(toRemove);}