viewer.SetPosition
pos = viewer.SetPosition (ViewerID, PosData)
or
pos = viewer.SetPosition (ViewerID, StartPos, LeftPos, Flags)
Parameters:
ViewerID: integer, or nil
PosData: table
fields of PosData:
StartPos: number, 0-based
LeftPos: number, 1-based
Flags: flags
Parameters of the 2-nd function variant correspond to fields
of the PosData table.
Returns:
pos: resulting value of StartPos (number), or nil
Far API used:
ViewerControl, VCTL_SETPOSITION