We are using old dll 17.10. Does anyone know how to fit all columns in Excel to one page using powershell?
This is what we had.
$newName = $csvFileItem.FullName.Replace(".xlsx", “.pdf”)
$doc = New-Object Aspose.Cells.Workbook -ArgumentList $csvFileItem.FullName
$saveOptions = New-Object Aspose.Cells.PdfSaveOptions
$doc.Save($newName, [Aspose.Cells.FileFormatType]::Pdf)
Thanks in advance.