ScrollBarPosition class

Office 2013 and later

Scroll bar position. When the object is serialized out as xml, its qualified name is xvml:Val.

Namespace:  DocumentFormat.OpenXml.Vml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

public class ScrollBarPosition : OpenXmlLeafTextElement

[ISO/IEC 29500-1 1st Edition]

Val (Scroll bar position)

This element specifies the scroll bar position as the index of the list item just above the item at the top of the view, given the current scroll position. The list indexes are 1-based. If omitted, the value is assumed to be 0. This element is used for scroll bars and spinners.

[Example: The first list item (item 1) is just off the top of the view. The second list item is at the top of the view.

<x:ClientData> …  <x:Val>1</x:Val>

end example]

The possible values for this element are defined by the W3C XML Schema integer datatype.

Parent Elements

ClientData (§

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.