![]() |
This document is archived and information here might be outdated. Recommended version. |
Defines a transformation that maps a point relative to one envelope to a similar position relative to another envelope.
[Visual Basic .NET] Public Sub DefineFromEnvelopes ( _ ByVal from As IEnvelope, _ ByVal to As IEnvelope _ )
[C#] public void DefineFromEnvelopes ( IEnvelope from, IEnvelope to );
[C++]
HRESULT DefineFromEnvelopes(
IEnvelope* from,
IEnvelope* to
);
[C++] Parameters from
from is a parameter of type IEnvelope* to
to is a parameter of type IEnvelope*
The IAffineTransformation2D::DefineFromEnvelopes allows to define an AffineTransformation based on two envelopes. This method can be used to create a quick adjustment containing only translation and scale. Since envelope cannot be rotated, it doesn't allow defining a rotation.