com.esri.arcgis.display
Interface IResizeEnvelopeFeedback2

All Superinterfaces:
IDisplayFeedback, Serializable
All Known Implementing Classes:
ResizeEnvelopeFeedback, ResizeTextFeedback

public interface IResizeEnvelopeFeedback2
extends IDisplayFeedback, Serializable

Provides access to members that control the resize of a rotated element.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
IMoveEnvelopeFeedback, IMoveImageFeedback2, INewBezierCurveFeedback, INewPolygonFeedback, INewMultiPointFeedback, IReshapeFeedback, IMoveImageFeedback, IMoveGeometryFeedback, IResizeEnvelopeFeedback2, INewDimensionFeedback, IResizeEnvelopeFeedback, IPolygonMovePointFeedback, INewLineFeedback, INewCircleFeedback, IVertexFeedback, IMoveLineFeedback, IMovePointFeedback, ILineMovePointFeedback, INewEnvelopeFeedback2, IStretchLineFeedback, INewEnvelopeFeedback, IMovePolygonFeedback

Method Summary
 double getAspectRatio()
          The aspect ratio for the custom constraint type.
 int getConstraint()
          The constraint on this rubberbander.
 int getResizeEdge()
          The edge to rubberband.
 IGeometry IResizeEnvelopeFeedback2_stop()
          Stops the feedback and returns the shape.
 void setAspectRatio(double aspectRatio)
          The aspect ratio for the custom constraint type.
 void setConstraint(int constrain)
          The constraint on this rubberbander.
 void setResizeEdge(int edge)
          The edge to rubberband.
 void start(IGeometry envelope, IPoint point)
          Begins a resize feedback of the given shape.
 
Methods inherited from interface com.esri.arcgis.display.IDisplayFeedback
getSymbol, moveTo, refresh, setDisplayByRef, setSymbolByRef
 

Method Detail

setResizeEdge

void setResizeEdge(int edge)
                   throws IOException,
                          AutomationException
The edge to rubberband.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
edge - A com.esri.arcgis.display.esriEnvelopeEdge constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getResizeEdge

int getResizeEdge()
                  throws IOException,
                         AutomationException
The edge to rubberband.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
A com.esri.arcgis.display.esriEnvelopeEdge constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getConstraint

int getConstraint()
                  throws IOException,
                         AutomationException
The constraint on this rubberbander.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
A com.esri.arcgis.display.esriEnvelopeConstraints constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setConstraint

void setConstraint(int constrain)
                   throws IOException,
                          AutomationException
The constraint on this rubberbander.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
constrain - A com.esri.arcgis.display.esriEnvelopeConstraints constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAspectRatio

double getAspectRatio()
                      throws IOException,
                             AutomationException
The aspect ratio for the custom constraint type.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
The aspectRatio
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAspectRatio

void setAspectRatio(double aspectRatio)
                    throws IOException,
                           AutomationException
The aspect ratio for the custom constraint type.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
aspectRatio - The aspectRatio (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

start

void start(IGeometry envelope,
           IPoint point)
           throws IOException,
                  AutomationException
Begins a resize feedback of the given shape.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
envelope - A reference to a com.esri.arcgis.geometry.IGeometry (in)
point - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

IResizeEnvelopeFeedback2_stop

IGeometry IResizeEnvelopeFeedback2_stop()
                                        throws IOException,
                                               AutomationException
Stops the feedback and returns the shape.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.