|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDisplayTransformationScales
Provides access to members that control Display Transformation scales.
Method Summary | |
---|---|
void |
addUserScale(double scale)
Add a new user scale. |
double |
calculateScale(IEnvelope extent)
Calculate the scale of the specified extent. |
int |
getScaleSnapping()
Indicates if transform snaps the fitted bounds to a standard scale. |
double |
getUserScale(int idx)
Get the user scales. |
int |
getUserScaleCount()
Get the number of user scales. |
void |
loadDefaultUserScales()
Initialize user scales to defaults. |
double |
nextScale(double scale)
Find the nearest standard scale with a value that is higher than the specified scale. |
double |
previousScale(double scale)
Find the nearest standard scale with a value that is lower than the specified scale. |
void |
removeAllUserScales()
Remove all the user scales. |
void |
removeUserScale(double scale)
Remove a user scale. |
void |
saveDefaultUserScales()
Set the current set of user scales to be the defaults. |
void |
setScaleSnapping(int setting)
Indicates if transform snaps the fitted bounds to a standard scale. |
double |
snapScale(double scale)
Snap the specified scale to a standard scale. |
void |
zoomTo(IEnvelope extent,
double scale)
Zoom to the specified scale. |
Method Detail |
---|
int getScaleSnapping() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setScaleSnapping(int setting) throws IOException, AutomationException
setting
- A com.esri.arcgis.display.esriScaleSnapping constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getUserScaleCount() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getUserScale(int idx) throws IOException, AutomationException
idx
- The idx (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addUserScale(double scale) throws IOException, AutomationException
scale
- The scale (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void removeUserScale(double scale) throws IOException, AutomationException
scale
- The scale (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void removeAllUserScales() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void loadDefaultUserScales() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void saveDefaultUserScales() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double calculateScale(IEnvelope extent) throws IOException, AutomationException
extent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void zoomTo(IEnvelope extent, double scale) throws IOException, AutomationException
extent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)scale
- The scale (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double snapScale(double scale) throws IOException, AutomationException
scale
- The scale (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double nextScale(double scale) throws IOException, AutomationException
scale
- The scale (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double previousScale(double scale) throws IOException, AutomationException
scale
- The scale (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |