Hi,
The follwing process i have done for setting the height of the table row.Please see the attachment for more details with code.
1: Assigned the height for the 0th row of PPT tabel.
2: Set the height as 173.599991 for 0th row.
3: After set the height ,retrieved the height of the 0th row by using of getRowHeight(0) function.but it returns as "328"
Its always retruning "328".Please confirm me any other way to set the height and please advice me whether i missed any steps.
please see the follwing code .we created this function to assign the height of gridrow into ppttable row height.
private void SetRowSize
(
Table pptTable,
GridRow gridRow
)
{
float height = 0;
switch (gridRow.SizingStyle)
{
//only manual size is currently in use
case SizingStyle.Manual :
height = gridRow.Height;
break;
case SizingStyle.Auto :
height = GetRowAutoSize(gridRow);
break;
case SizingStyle.Default :
default :
height = GetRowDefaultSize(gridRow);
break;
}
pptTable.SetRowHeight(gridRow.Row, Convert.ToInt32(height));
}
Thanks,
Regilesh