Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns or sets the horizontal scroll position as a percentage of the document width. Read/write Long.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Property HorizontalPercentScrolled As Integer
Get
Set
'Usage
Dim instance As Pane
Dim value As Integer
value = instance.HorizontalPercentScrolled
instance.HorizontalPercentScrolled = value
int HorizontalPercentScrolled { get; set; }
Property Value
Type: System.Int32
Examples
This example horizontally scrolls the active pane of the window for Document1 all the way to the left.
With Windows("Document1")
.Activate
.ActivePane.HorizontalPercentScrolled= 0End With