## WorksheetCollection::SetOleSize(const Aspose::Cells::Object\&) method


Gets and Sets displayed size when [Workbook](../../workbook/) file is used as an Ole object.

```cpp
void Aspose::Cells::WorksheetCollection::SetOleSize(const Aspose::Cells::Object &value)
```

## Remarks


Null means no ole size setting. 
## See Also

* Class [Vector](../../vector/)
* Class [Object](../../object/)
* Class [WorksheetCollection](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
## WorksheetCollection::SetOleSize(int32_t, int32_t, int32_t, int32_t) method


Sets displayed size when [Workbook](../../workbook/) file is used as an Ole object.

```cpp
void Aspose::Cells::WorksheetCollection::SetOleSize(int32_t startRow, int32_t endRow, int32_t startColumn, int32_t endColumn)
```


| Parameter | Type | Description |
| --- | --- | --- |
| startRow | int32_t | Start row index. |
| endRow | int32_t | End row index. |
| startColumn | int32_t | Start column index. |
| endColumn | int32_t | End column index. |
## Remarks



This method is generally used to adjust display size in ppt file or doc file.
## See Also

* Class [Vector](../../vector/)
* Class [WorksheetCollection](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
