Moves the sides x units horizontally and y units vertically.
[Visual Basic 6.0] Sub Offset(
ByVal X As Double, _
ByVal Y As Double _
)
[Visual Basic .NET] Public Sub Offset ( _ ByVal X As Double, _ ByVal Y As Double _ )
[C#] public void Offset ( double X, double Y );
[Java] public void offset ( double X, double Y ) throws IOException, AutomationException
[C++]
HRESULT Offset(
double X,
double Y
);
Parameters
X
X is a parameter of type double
Y
Y is a parameter of type double
Offset moves the position of the Envelope. A positive X value will shift the Envelope to the right and a negative value to the left. A positive Y value will shift the Envelope up and a negative value down. The Width and Height of the Envelope remain unchanged. Only the XMin, YMin, XMax, and YMax are changed.
The new position of the Envelope is as follows:
new XMin= old XMin + X
new YMin = old YMin + Y
new XMax = old XMax + X
new YMax = old YMax + Y

IEnvelope Interface | IEnvelope.Union Method | IEnvelope.Intersect Method | IEnvelope.Expand Method | IEnvelope.CenterAt Method