## ScrollBar class

Represents a scroll bar object.

```csharp
public class ScrollBar : Shape
```

## Properties

| Name | Description |
| --- | --- |
| [ActiveXControl](../../aspose.cells.drawing/shape/activexcontrol/) { get; } | Gets the ActiveX control.(Inherited from [`Shape`](../shape/).) |
| [ActualLowerRightRow](../../aspose.cells.drawing/shape/actuallowerrightrow/) { get; } | Get the actual bottom row.(Inherited from [`Shape`](../shape/).) |
| [AlternativeText](../../aspose.cells.drawing/shape/alternativetext/) { get; set; } | Returns or sets the descriptive (alternative) text string of the [`Shape`](../shape/) object.(Inherited from [`Shape`](../shape/).) |
| [AnchorType](../../aspose.cells.drawing/shape/anchortype/) { get; set; } | Gets and set the type of the shape anchor placeholder.(Inherited from [`Shape`](../shape/).) |
| [AutoShapeType](../../aspose.cells.drawing/shape/autoshapetype/) { get; set; } | Gets and sets the auto shape type.(Inherited from [`Shape`](../shape/).) |
| [Bottom](../../aspose.cells.drawing/shape/bottom/) { get; set; } | Represents the width of the shape's vertical offset from its lower bottom corner row, in unit of pixels.(Inherited from [`Shape`](../shape/).) |
| [ControlData](../../aspose.cells.drawing/shape/controldata/) { get; } | Gets the data of control.(Inherited from [`Shape`](../shape/).) |
| [CreateId](../../aspose.cells.drawing/shape/createid/) { get; set; } | Gets and sets create id for this shape.(Inherited from [`Shape`](../shape/).) |
| [CurrentValue](../../aspose.cells.drawing/scrollbar/currentvalue/) { get; set; } | Gets or sets the current value. |
| [Fill](../../aspose.cells.drawing/shape/fill/) { get; } | Returns a [`FillFormat`](../shape/fillformat/) object that contains fill formatting properties for the specified shape.(Inherited from [`Shape`](../shape/).) |
| [FillFormat](../../aspose.cells.drawing/shape/fillformat/) { get; } | (**Obsolete.**) Returns a MsoFillFormat object that contains fill formatting properties for the specified shape.(Inherited from [`Shape`](../shape/).) |
| [Font](../../aspose.cells.drawing/shape/font/) { get; set; } | Represents the font of shape.(Inherited from [`Shape`](../shape/).) |
| [FormatPicture](../../aspose.cells.drawing/shape/formatpicture/) { get; } | Gets and sets the options of the picture format.(Inherited from [`Shape`](../shape/).) |
| [Geometry](../../aspose.cells.drawing/shape/geometry/) { get; } | Gets the geometry(Inherited from [`Shape`](../shape/).) |
| [Glow](../../aspose.cells.drawing/shape/glow/) { get; } | Represents a [`GlowEffect`](../gloweffect/) object that specifies glow effect for the chart element or shape.(Inherited from [`Shape`](../shape/).) |
| [Group](../../aspose.cells.drawing/shape/group/) { get; } | Gets the group shape which contains this shape.(Inherited from [`Shape`](../shape/).) |
| [HasLine](../../aspose.cells.drawing/shape/hasline/) { get; set; } | Gets and sets the line border of the shape is visible.(Inherited from [`Shape`](../shape/).) |
| [Height](../../aspose.cells.drawing/shape/height/) { get; set; } | Represents the height of shape, in unit of pixel.(Inherited from [`Shape`](../shape/).) |
| [HeightCM](../../aspose.cells.drawing/shape/heightcm/) { get; set; } | Represents the height of the shape, in unit of centimeters.(Inherited from [`Shape`](../shape/).) |
| [HeightInch](../../aspose.cells.drawing/shape/heightinch/) { get; set; } | Represents the height of the shape, in unit of inches.(Inherited from [`Shape`](../shape/).) |
| [HeightInShape](../../aspose.cells.drawing/shape/heightinshape/) { get; set; } | Represents the vertical offset of shape from the top border of the parent shape, in unit of 1/4000 of height of the parent shape..(Inherited from [`Shape`](../shape/).) |
| [HeightPt](../../aspose.cells.drawing/shape/heightpt/) { get; set; } | Represents the height of the shape, in unit of points.(Inherited from [`Shape`](../shape/).) |
| [HeightScale](../../aspose.cells.drawing/shape/heightscale/) { get; set; } | Gets and sets the height scale,in unit of percent of the original picture height. If the shape is not picture ,the HeightScale property only returns 100;(Inherited from [`Shape`](../shape/).) |
| [HtmlText](../../aspose.cells.drawing/shape/htmltext/) { get; set; } | Gets and sets the html string which contains data and some formats in this textbox.(Inherited from [`Shape`](../shape/).) |
| [Hyperlink](../../aspose.cells.drawing/shape/hyperlink/) { get; } | Gets the hyperlink of the shape.(Inherited from [`Shape`](../shape/).) |
| [Id](../../aspose.cells.drawing/shape/id/) { get; } | Gets the identifier of this shape.(Inherited from [`Shape`](../shape/).) |
| [IncrementalChange](../../aspose.cells.drawing/scrollbar/incrementalchange/) { get; set; } | Gets or sets the amount that the scroll bar or spinner is incremented a line scroll. |
| [InputRange](../../aspose.cells.drawing/shape/inputrange/) { get; set; } | Gets or sets the worksheet range used to fill the specified combo box.(Inherited from [`Shape`](../shape/).) |
| [IsAspectRatioLocked](../../aspose.cells.drawing/shape/isaspectratiolocked/) { get; set; } | True means that aspect ratio of the shape is locked.(Inherited from [`Shape`](../shape/).) |
| [IsDecorative](../../aspose.cells.drawing/shape/isdecorative/) { get; set; } | Indicates whether the object is decorative.(Inherited from [`Shape`](../shape/).) |
| [IsEquation](../../aspose.cells.drawing/shape/isequation/) { get; } | Indicates whether the shape only contains an equation.(Inherited from [`Shape`](../shape/).) |
| [IsFilled](../../aspose.cells.drawing/shape/isfilled/) { get; set; } | Indicates whether the fill format is visible.(Inherited from [`Shape`](../shape/).) |
| [IsFlippedHorizontally](../../aspose.cells.drawing/shape/isflippedhorizontally/) { get; set; } | Gets and sets whether shape is horizontally flipped .(Inherited from [`Shape`](../shape/).) |
| [IsFlippedVertically](../../aspose.cells.drawing/shape/isflippedvertically/) { get; set; } | Gets and sets whether shape is vertically flipped .(Inherited from [`Shape`](../shape/).) |
| [IsGroup](../../aspose.cells.drawing/shape/isgroup/) { get; } | Indicates whether this shape is a group shape.(Inherited from [`Shape`](../shape/).) |
| [IsHidden](../../aspose.cells.drawing/shape/ishidden/) { get; set; } | Indicates whether the object is visible.(Inherited from [`Shape`](../shape/).) |
| [IsHorizontal](../../aspose.cells.drawing/scrollbar/ishorizontal/) { get; set; } | Indicates whether this is a horizontal scroll bar. |
| [IsInGroup](../../aspose.cells.drawing/shape/isingroup/) { get; } | Indicates whether the shape is grouped.(Inherited from [`Shape`](../shape/).) |
| [IsLockAspectRatio](../../aspose.cells.drawing/shape/islockaspectratio/) { get; set; } | (**Obsolete.**) True means that aspect ratio of the shape is locked.(Inherited from [`Shape`](../shape/).) |
| [IsLocked](../../aspose.cells.drawing/shape/islocked/) { get; set; } | True means the object can not be modified when the sheet is protected. Note that this value is meaningful only if the worksheet or objects in the worksheet are protected.(Inherited from [`Shape`](../shape/).) |
| [IsPrintable](../../aspose.cells.drawing/shape/isprintable/) { get; set; } | Indicates whether the object is printable. If False, this shape will not be printed when printing.(Inherited from [`Shape`](../shape/).) |
| [IsRichText](../../aspose.cells.drawing/shape/isrichtext/) { get; } | Whether or not the text is rich text.(Inherited from [`Shape`](../shape/).) |
| [IsSmartArt](../../aspose.cells.drawing/shape/issmartart/) { get; } | Indicates whether the shape is a smart art.(Inherited from [`Shape`](../shape/).) |
| [IsTextWrapped](../../aspose.cells.drawing/shape/istextwrapped/) { get; set; } | Gets and sets the text wrapped type of the shape which contains text.(Inherited from [`Shape`](../shape/).) |
| [IsWordArt](../../aspose.cells.drawing/shape/iswordart/) { get; } | Indicates whether this shape is a word art.(Inherited from [`Shape`](../shape/).) |
| [Left](../../aspose.cells.drawing/shape/left/) { get; set; } | Represents the horizontal offset of shape from its left column, in unit of pixels.(Inherited from [`Shape`](../shape/).) |
| [LeftCM](../../aspose.cells.drawing/shape/leftcm/) { get; set; } | Represents the horizontal offset of shape from its left column, in unit of centimeters.(Inherited from [`Shape`](../shape/).) |
| [LeftInch](../../aspose.cells.drawing/shape/leftinch/) { get; set; } | Represents the horizontal offset of shape from its left column, in unit of inches.(Inherited from [`Shape`](../shape/).) |
| [LeftInShape](../../aspose.cells.drawing/shape/leftinshape/) { get; set; } | Represents the horizontal offset of shape from the left border of the parent shape, in unit of 1/4000 of width of the parent shape.(Inherited from [`Shape`](../shape/).) |
| [LeftToCorner](../../aspose.cells.drawing/shape/lefttocorner/) { get; set; } | Gets and sets the horizonal offset of shape from worksheet left border.(Inherited from [`Shape`](../shape/).) |
| [Line](../../aspose.cells.drawing/shape/line/) { get; } | Gets line style(Inherited from [`Shape`](../shape/).) |
| [LineFormat](../../aspose.cells.drawing/shape/lineformat/) { get; } | (**Obsolete.**) Returns a MsoLineFormat object that contains line formatting properties for the specified shape.(Inherited from [`Shape`](../shape/).) |
| [LinkedCell](../../aspose.cells.drawing/shape/linkedcell/) { get; set; } | Gets or sets the worksheet range linked to the control's value.(Inherited from [`Shape`](../shape/).) |
| [LowerDeltaX](../../aspose.cells.drawing/shape/lowerdeltax/) { get; set; } | Gets or sets the shape's horizontal offset from its lower right corner column.(Inherited from [`Shape`](../shape/).) |
| [LowerDeltaY](../../aspose.cells.drawing/shape/lowerdeltay/) { get; set; } | Gets or sets the shape's vertical offset from its lower right corner row.(Inherited from [`Shape`](../shape/).) |
| [LowerRightColumn](../../aspose.cells.drawing/shape/lowerrightcolumn/) { get; set; } | Represents lower right corner column index.(Inherited from [`Shape`](../shape/).) |
| [LowerRightRow](../../aspose.cells.drawing/shape/lowerrightrow/) { get; set; } | Represents lower right corner row index.(Inherited from [`Shape`](../shape/).) |
| [MacroName](../../aspose.cells.drawing/shape/macroname/) { get; set; } | Gets and sets the name of macro.(Inherited from [`Shape`](../shape/).) |
| [Max](../../aspose.cells.drawing/scrollbar/max/) { get; set; } | Gets or sets the maximum value of a scroll bar or spinner range. |
| [Min](../../aspose.cells.drawing/scrollbar/min/) { get; set; } | Gets or sets the minimum value of a scroll bar or spinner range. |
| [MsoDrawingType](../../aspose.cells.drawing/shape/msodrawingtype/) { get; } | Gets drawing type.(Inherited from [`Shape`](../shape/).) |
| [Name](../../aspose.cells.drawing/shape/name/) { get; set; } | Gets and sets the name of the shape.(Inherited from [`Shape`](../shape/).) |
| [PageChange](../../aspose.cells.drawing/scrollbar/pagechange/) { get; set; } | Gets or sets page change |
| [Paths](../../aspose.cells.drawing/shape/paths/) { get; } | Gets the paths of a custom geometric shape.(Inherited from [`Shape`](../shape/).) |
| [Placement](../../aspose.cells.drawing/shape/placement/) { get; set; } | Represents the way the drawing object is attached to the cells below it. The property controls the placement of an object on a worksheet.(Inherited from [`Shape`](../shape/).) |
| [Reflection](../../aspose.cells.drawing/shape/reflection/) { get; } | Represents a [`ReflectionEffect`](../reflectioneffect/) object that specifies reflection effect for the chart element or shape.(Inherited from [`Shape`](../shape/).) |
| [RelativeToOriginalPictureSize](../../aspose.cells.drawing/shape/relativetooriginalpicturesize/) { get; set; } | Indicates whether shape is relative to original picture size.(Inherited from [`Shape`](../shape/).) |
| [Right](../../aspose.cells.drawing/shape/right/) { get; set; } | Represents the width of the shape's horizontal offset from its lower right corner column, in unit of pixels.(Inherited from [`Shape`](../shape/).) |
| [RotationAngle](../../aspose.cells.drawing/shape/rotationangle/) { get; set; } | Gets and sets the rotation of the shape.(Inherited from [`Shape`](../shape/).) |
| [Shadow](../../aspose.cells.drawing/scrollbar/shadow/) { get; set; } | Indicates whether the shape has 3-D shading. |
| [ShadowEffect](../../aspose.cells.drawing/shape/shadoweffect/) { get; } | Represents a [`ShadowEffect`](../shadoweffect/) object that specifies shadow effect for the chart element or shape.(Inherited from [`Shape`](../shape/).) |
| [SoftEdges](../../aspose.cells.drawing/shape/softedges/) { get; set; } | Gets and sets the radius of blur to apply to the edges, in unit of points.(Inherited from [`Shape`](../shape/).) |
| [Spid](../../aspose.cells.drawing/shape/spid/) { get; } | Specifies an optional string identifier that an application can use to identify the particular shape.(Inherited from [`Shape`](../shape/).) |
| [Spt](../../aspose.cells.drawing/shape/spt/) { get; } | Specifies an optional number that an application can use to associate the particular shape with a defined shape type.(Inherited from [`Shape`](../shape/).) |
| [Text](../../aspose.cells.drawing/shape/text/) { get; set; } | Gets and sets the text of this shape.(Inherited from [`Shape`](../shape/).) |
| [TextBody](../../aspose.cells.drawing/shape/textbody/) { get; } | Gets and sets the setting of the shape's text.(Inherited from [`Shape`](../shape/).) |
| [TextBoxOptions](../../aspose.cells.drawing/shape/textboxoptions/) { get; } | Gets the text information in the shape(Inherited from [`Shape`](../shape/).) |
| [TextDirection](../../aspose.cells.drawing/shape/textdirection/) { get; set; } | Gets/Sets the direction of the text flow for this object.(Inherited from [`Shape`](../shape/).) |
| [TextEffect](../../aspose.cells.drawing/shape/texteffect/) { get; } | Returns a TextEffectFormat object that contains text-effect formatting properties for the specified shape. Applies to Shape objects that represent WordArt.(Inherited from [`Shape`](../shape/).) |
| [TextHorizontalAlignment](../../aspose.cells.drawing/shape/texthorizontalalignment/) { get; set; } | Gets and sets the text horizontal alignment type of the shape.(Inherited from [`Shape`](../shape/).) |
| [TextHorizontalOverflow](../../aspose.cells.drawing/shape/texthorizontaloverflow/) { get; set; } | Gets and sets the text horizontal overflow type of the shape which contains text.(Inherited from [`Shape`](../shape/).) |
| [TextOptions](../../aspose.cells.drawing/shape/textoptions/) { get; set; } | Represents the text options of the shape.(Inherited from [`Shape`](../shape/).) |
| [TextOrientationType](../../aspose.cells.drawing/shape/textorientationtype/) { get; set; } | Gets and sets the text orientation type of the shape.(Inherited from [`Shape`](../shape/).) |
| [TextShapeType](../../aspose.cells.drawing/shape/textshapetype/) { get; set; } | Gets and sets the preset text shape type.(Inherited from [`Shape`](../shape/).) |
| [TextVerticalAlignment](../../aspose.cells.drawing/shape/textverticalalignment/) { get; set; } | Gets and sets the text vertical alignment type of the shape.(Inherited from [`Shape`](../shape/).) |
| [TextVerticalOverflow](../../aspose.cells.drawing/shape/textverticaloverflow/) { get; set; } | Gets and sets the text vertical overflow type of the shape which contains text.(Inherited from [`Shape`](../shape/).) |
| [ThreeDFormat](../../aspose.cells.drawing/shape/threedformat/) { get; } | Gets and sets 3d format of the shape.(Inherited from [`Shape`](../shape/).) |
| [Title](../../aspose.cells.drawing/shape/title/) { get; set; } | Specifies the title (caption) of the current shape object.(Inherited from [`Shape`](../shape/).) |
| [Top](../../aspose.cells.drawing/shape/top/) { get; set; } | Represents the vertical offset of shape from its top row, in unit of pixels.(Inherited from [`Shape`](../shape/).) |
| [TopCM](../../aspose.cells.drawing/shape/topcm/) { get; set; } | Represents the vertical offset of shape from its top row, in unit of centimeters.(Inherited from [`Shape`](../shape/).) |
| [TopInch](../../aspose.cells.drawing/shape/topinch/) { get; set; } | Represents the vertical offset of shape from its top row, in unit of inches.(Inherited from [`Shape`](../shape/).) |
| [TopInShape](../../aspose.cells.drawing/shape/topinshape/) { get; set; } | Represents the vertical offset of shape from the top border of the parent shape, in unit of 1/4000 of height of the parent shape.(Inherited from [`Shape`](../shape/).) |
| [TopToCorner](../../aspose.cells.drawing/shape/toptocorner/) { get; set; } | Gets and sets the vertical offset of shape from worksheet top border, in unit of pixels.(Inherited from [`Shape`](../shape/).) |
| [Type](../../aspose.cells.drawing/shape/type/) { get; } | Gets the auto shape type.(Inherited from [`Shape`](../shape/).) |
| [UpperDeltaX](../../aspose.cells.drawing/shape/upperdeltax/) { get; set; } | Gets or sets the shape's horizontal offset from its upper left corner column.(Inherited from [`Shape`](../shape/).) |
| [UpperDeltaY](../../aspose.cells.drawing/shape/upperdeltay/) { get; set; } | Gets or sets the shape's vertical offset from its upper left corner row.(Inherited from [`Shape`](../shape/).) |
| [UpperLeftColumn](../../aspose.cells.drawing/shape/upperleftcolumn/) { get; set; } | Represents upper left corner column index.(Inherited from [`Shape`](../shape/).) |
| [UpperLeftRow](../../aspose.cells.drawing/shape/upperleftrow/) { get; set; } | Represents the top row index.(Inherited from [`Shape`](../shape/).) |
| [Width](../../aspose.cells.drawing/shape/width/) { get; set; } | Represents the width of shape, in unit of pixels.(Inherited from [`Shape`](../shape/).) |
| [WidthCM](../../aspose.cells.drawing/shape/widthcm/) { get; set; } | Represents the width of the shape, in unit of centimeters.(Inherited from [`Shape`](../shape/).) |
| [WidthInch](../../aspose.cells.drawing/shape/widthinch/) { get; set; } | Represents the width of the shape, in unit of inch.(Inherited from [`Shape`](../shape/).) |
| [WidthInShape](../../aspose.cells.drawing/shape/widthinshape/) { get; set; } | Represents the width of the shape, in unit of 1/4000 of the parent shape.(Inherited from [`Shape`](../shape/).) |
| [WidthPt](../../aspose.cells.drawing/shape/widthpt/) { get; set; } | Represents the width of the shape, in unit of point.(Inherited from [`Shape`](../shape/).) |
| [WidthScale](../../aspose.cells.drawing/shape/widthscale/) { get; set; } | Gets and sets the width scale, in unit of percent of the original picture width. If the shape is not picture ,the WidthScale property only returns 100;(Inherited from [`Shape`](../shape/).) |
| [Worksheet](../../aspose.cells.drawing/shape/worksheet/) { get; } | Gets the [`Worksheet`](../../aspose.cells/worksheet/) object which contains this shape.(Inherited from [`Shape`](../shape/).) |
| [X](../../aspose.cells.drawing/shape/x/) { get; set; } | Gets and sets the horizontal offset of shape from worksheet left border,in unit of pixels.(Inherited from [`Shape`](../shape/).) |
| [Y](../../aspose.cells.drawing/shape/y/) { get; set; } | Gets and sets the vertical offset of shape from worksheet top border,in unit of pixels.(Inherited from [`Shape`](../shape/).) |
| [ZOrderPosition](../../aspose.cells.drawing/shape/zorderposition/) { get; set; } | Returns the position of a shape in the z-order.(Inherited from [`Shape`](../shape/).) |

## Methods

| Name | Description |
| --- | --- |
| [AddHyperlink](../../aspose.cells.drawing/shape/addhyperlink/)(string) | Adds a hyperlink to the shape.(Inherited from [`Shape`](../shape/).) |
| [AlignTopRightCorner](../../aspose.cells.drawing/shape/aligntoprightcorner/)(int, int) | Moves the picture to the top-right corner.(Inherited from [`Shape`](../shape/).) |
| [CalculateTextSize](../../aspose.cells.drawing/shape/calculatetextsize/)() | Recalculate the text area(Inherited from [`Shape`](../shape/).) |
| [Characters](../../aspose.cells.drawing/shape/characters/)(int, int) | Returns a Characters object that represents a range of characters within the text.(Inherited from [`Shape`](../shape/).) |
| [FitToTextSize](../../aspose.cells.drawing/shape/fittotextsize/)() | Recalculate a text area suitable for displaying all text content.(Inherited from [`Shape`](../shape/).) |
| [FormatCharacters](../../aspose.cells.drawing/shape/formatcharacters/)(int, int, Font, StyleFlag) | Formats some characters with the font setting.(Inherited from [`Shape`](../shape/).) |
| [GetActualBox](../../aspose.cells.drawing/shape/getactualbox/)() | Get the actual position and size of the shape (after applying rotation, flip, etc.)(Inherited from [`Shape`](../shape/).) |
| [GetCharacters](../../aspose.cells.drawing/shape/getcharacters/)() | (**Obsolete.**) Returns all Characters objects that represents a range of characters within the text .(Inherited from [`Shape`](../shape/).) |
| [GetConnectionPoints](../../aspose.cells.drawing/shape/getconnectionpoints/)() | Get the connection points(Inherited from [`Shape`](../shape/).) |
| [GetInputRange](../../aspose.cells.drawing/shape/getinputrange/)(bool, bool) | Gets the range used to fill the control.(Inherited from [`Shape`](../shape/).) |
| [GetLinkedCell](../../aspose.cells.drawing/shape/getlinkedcell/)(bool, bool) | Gets the range linked to the control's value.(Inherited from [`Shape`](../shape/).) |
| [GetLockedProperty](../../aspose.cells.drawing/shape/getlockedproperty/)(ShapeLockType) | Gets the value of locked property.(Inherited from [`Shape`](../shape/).) |
| virtual [GetResultOfSmartArt](../../aspose.cells.drawing/shape/getresultofsmartart/)() | Converting smart art to grouped shapes.(Inherited from [`Shape`](../shape/).) |
| [GetRichFormattings](../../aspose.cells.drawing/shape/getrichformattings/)() | Returns all Characters objects that represents a range of characters within the text .(Inherited from [`Shape`](../shape/).) |
| virtual [IsSameSetting](../../aspose.cells.drawing/shape/issamesetting/)(object) | Returns whether the shape is same.(Inherited from [`Shape`](../shape/).) |
| [MoveToRange](../../aspose.cells.drawing/shape/movetorange/)(int, int, int, int) | Moves the shape to a specified range.(Inherited from [`Shape`](../shape/).) |
| [RemoveActiveXControl](../../aspose.cells.drawing/shape/removeactivexcontrol/)() | Remove activeX control.(Inherited from [`Shape`](../shape/).) |
| [RemoveHyperlink](../../aspose.cells.drawing/shape/removehyperlink/)() | Removes the hyperlink of the shape.(Inherited from [`Shape`](../shape/).) |
| [SetInputRange](../../aspose.cells.drawing/shape/setinputrange/)(string, bool, bool) | Sets the range used to fill the control.(Inherited from [`Shape`](../shape/).) |
| [SetLinkedCell](../../aspose.cells.drawing/shape/setlinkedcell/)(string, bool, bool) | Sets the range linked to the control's value.(Inherited from [`Shape`](../shape/).) |
| [SetLockedProperty](../../aspose.cells.drawing/shape/setlockedproperty/)(ShapeLockType, bool) | Set the locked property.(Inherited from [`Shape`](../shape/).) |
| [ToFrontOrBack](../../aspose.cells.drawing/shape/tofrontorback/)(int) | Brings the shape to the front or sends the shape to back.(Inherited from [`Shape`](../shape/).) |
| [ToImage](../../aspose.cells.drawing/shape/toimage/)(ImageOrPrintOptions) | Returns the bitmap object of the shape .(Inherited from [`Shape`](../shape/).) |
| [ToImage](../../aspose.cells.drawing/shape/toimage/)(Stream, ImageOrPrintOptions) | Saves the shape to a stream.(Inherited from [`Shape`](../shape/).) |
| [ToImage](../../aspose.cells.drawing/shape/toimage/)(Stream, ImageType) | Creates the shape image and saves it to a stream in the specified format.(Inherited from [`Shape`](../shape/).) |
| [ToImage](../../aspose.cells.drawing/shape/toimage/)(string, ImageOrPrintOptions) | Saves the shape to a file.(Inherited from [`Shape`](../shape/).) |
| [UpdateSelectedValue](../../aspose.cells.drawing/shape/updateselectedvalue/)() | Update the selected value by the value of the linked cell.(Inherited from [`Shape`](../shape/).) |

### Remarks

Scroll value must be between 0 and 30000.

### Examples

```csharp
using System;
using Aspose.Cells;
using Aspose.Cells.Drawing;

namespace AsposeCellsExamples
{
    public class DrawingClassScrollBarDemo
    {
        public static void Run()
        {
            // Create a new workbook
            Workbook workbook = new Workbook();
            Worksheet worksheet = workbook.Worksheets[0];

            // Add a horizontal scroll bar
            ScrollBar scrollBar = worksheet.Shapes.AddScrollBar(1, 0, 1, 0, 200, 30);
            scrollBar.IsHorizontal = true;
            scrollBar.CurrentValue = 50;
            scrollBar.Min = 0;
            scrollBar.Max = 100;
            scrollBar.IncrementalChange = 5;
            scrollBar.PageChange = 20;

            // Save the workbook
            workbook.Save("ScrollBarDemo.xls");
        }
    }
}
```

### See Also

* class [Shape](../shape/)
* namespace [Aspose.Cells.Drawing](../../aspose.cells.drawing/)
* assembly [Aspose.Cells](../../)


