Aspose::Cells::Drawing::ShapeCollection::AddScrollBar method
Contents
[
Hide
]ShapeCollection::AddScrollBar method
Adds a ScrollBar to the worksheet.
ScrollBar Aspose::Cells::Drawing::ShapeCollection::AddScrollBar(int32_t upperLeftRow, int32_t top, int32_t upperLeftColumn, int32_t left, int32_t height, int32_t width)
Parameter | Type | Description |
---|---|---|
upperLeftRow | int32_t | Upper left row index. |
top | int32_t | Represents the vertical offset of ScrollBar from its left row, in unit of pixel. |
upperLeftColumn | int32_t | Upper left column index. |
left | int32_t | Represents the horizontal offset of ScrollBar from its left column, in unit of pixel. |
height | int32_t | Represents the height of ScrollBar, in unit of pixel. |
width | int32_t | Represents the width of ScrollBar, in unit of pixel. |
ReturnValue
A ScrollBar object.
Examples
//add a scroll bar
ScrollBar scrollBar = shapes.AddScrollBar(1, 0, 1, 0, 100, 20);
See Also
- Class ScrollBar
- Class Vector
- Class ShapeCollection
- Namespace Aspose::Cells::Drawing
- Library Aspose.Cells for C++