Hi,
When I convert my excel file to pdf,pdf version have blank pages.I attached original file.Could you please check it?
Hi,
When I convert my excel file to pdf,pdf version have blank pages.I attached original file.Could you please check it?
Hi,
Thanks for your posting and using Aspose.Cells for .NET.
We were not able to reproduce this issue. Please download and use the latest version:
Aspose.Cells for .NET (Latest Version)
It should fix your problem.
Please see the output pdf
generated using the latest version for your reference.
Hi,
Hi I tried with 7.3.0.1.But problem is the same
I am using following method.Maybe it can help you
foreach (Worksheet sheet in workbook.Worksheets)
{
maxCol = sheet.Cells.MaxColumn;
maxRow = sheet.Cells.MaxRow;
if (maxCol > 0 && maxRow > 0)
{
Aspose.Cells.
PageSetup pageSetup = sheet.PageSetup;
pageSetup.PrintArea =
"A1:" + CellsHelper.CellIndexToName(maxRow, maxCol);
}
}
vHi,
foreach (Worksheet sheet in workbook.Worksheets)
{
maxCol = sheet.Cells.MaxDataColumn;
maxRow = sheet.Cells.MaxDataRow;
if (maxCol > 0 && maxRow > 0)
{
Aspose.Cells.
PageSetup pageSetup = sheet.PageSetup;
pageSetup.PrintArea =
“A1:” + CellsHelper.CellIndexToName(maxRow, maxCol);
}
}
when I used
maxCol = sheet.Cells.MaxDataColumn;
maxRow = sheet.Cells.MaxDataRow; properties ,
I had another problems and your team suggested me that using MaxColumn and Maxrow properties
Hi,