The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Personally, I scan through the merged section before accessing individual cells. You might put this info in a collection to test against when you read each cell. Maybe SyncFusion has a better recommendation.
foreach (IRange ecell in wk.MergedCells)
{
top = ecell.Row;
left = ecell.Column;
bottom = top + ecell.Rows.Length - 1;
right = left + ecell.Columns.Length - 1;
}
ADAdministrator Syncfusion Team September 30, 2004 01:25 PM UTC
Hi,
Thanks for your input Greg.
We have added a new property
IRange.MergeArea
which will return a Range that encapsulates the Merged cells.
Unfortunately we do not have an updated evaluation version available right now, so please open a Direc-Trac incident in this regard and I will try to provide you with an updated evaluation version as soon as possible. Thanks.
Best regards,
Stephen.
>Personally, I scan through the merged section before accessing individual cells. You might put this info in a collection to test against when you read each cell. Maybe SyncFusion has a better recommendation.
>
> foreach (IRange ecell in wk.MergedCells)
> {
>
> top = ecell.Row;
> left = ecell.Column;
> bottom = top + ecell.Rows.Length - 1;
> right = left + ecell.Columns.Length - 1;
>}
VDVu Dang QuangOctober 2, 2004 02:02 AM UTC
Thanks for Greg. I''ve try using it code and it works good.
vdquang
>Personally, I scan through the merged section before accessing individual cells. You might put this info in a collection to test against when you read each cell. Maybe SyncFusion has a better recommendation.
>
> foreach (IRange ecell in wk.MergedCells)
> {
>
> top = ecell.Row;
> left = ecell.Column;
> bottom = top + ecell.Rows.Length - 1;
> right = left + ecell.Columns.Length - 1;
>}