SetViewport Method

       

Sets the left and top coordinates of the UserDocument that will be visible in the Viewport.

Syntax

object.SetViewPort left, top

Part Description
object An object expression that evaluates to an object in the Applies To list.
left Required. A value of type Single that specifies the left coordinate of the UserDocument.
top Required. A value of type Single that specifies the top coordinate of the UserDocument.