You are here: GdPicture.NET > Documentation > Classes > GdViewer Class > GdViewer Methods > Document Position > SetHVScrollBarPosition Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdViewer.SetHVScrollBarPosition Method

Moves in one shot the vertical and horizontal scrollbars to custom positions.

C#
public SetHVScrollBarPosition(
    int NewPosH, 
    int NewPosV
);
Visual Basic
Public Sub SetHVScrollBarPosition(
    ByVal NewPosH As Integer, 
    ByVal NewPosV As Integer
)
Parameters
Parameters 
Description 
NewPosH 
The position to move the horizontal scrollbar.  
NewPosV 
The position to move the vertical scrollbar. 
What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.