Free Support Forum - aspose.com

Retrieving size of OLE object

Hi,

There is method SetOleSize (Aspose.Cells.WorksheetCollection), but there is no method GetOleSize. How can I get size of OLE object?

Thanks,
Alex Shloma

Hi,

You can retrieve the size of ole objects. But you cannot retrieve the size of sheet itself when it is treated as an ole object.

This issue has been logged as a New Feature Request with id: CELLSNET-26770.

Thanks for help. I appreciate your quick answer.

Best regards,

Alex Shloma

Hi,

We have fixed this issue. Please download Aspose.Cells
for .NET v5.3.2.7
.

Please use WorksheetCollection.OleSize

When it returns Null, then it means no ole size setting, otherwise it returns a CellArea.

Thanks guys. You rescued me. I appreciate your help.

Best regards,
Alex Shloma