TranslateViewport Method (DesktopDeviceContext)
In This Topic
Modifies the viewport origin for a device context using the specified horizontal and vertical offsets.
Syntax
'Declaration
Public Sub TranslateViewport( _
ByVal As Integer, _
ByVal As Integer _
)
public void TranslateViewport(
int ,
int
)
Parameters
- dx
- An int specifies the horizontal offset.
- dy
- An int specifies the vertical offset.
See Also