|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEngineEditProperties2
Provides access to more members that control the properties of an edit session.
The IEngineEditProperties2 interface provides additional properties for managing an edit session.
Method Summary | |
---|---|
double |
getAngularCorrectionOffset()
Angular Correction Offset. |
int |
getAngularUnitPrecision()
Precision used to display angular units. |
int |
getDirectionType()
Direction Type. |
int |
getDirectionUnits()
Direction Units. |
double |
getDistanceCorrectionFactor()
Distance Correction Factor. |
int |
getStickyMoveTolerance()
Controls the sticky move tolerance. |
boolean |
isSnapTips()
Indicates whether to show the snap tips. |
boolean |
isUseGroundToGrid()
Indicates whether to use Ground to Grid. |
void |
setAngularCorrectionOffset(double angOffset)
Angular Correction Offset. |
void |
setAngularUnitPrecision(int auPrecision)
Precision used to display angular units. |
void |
setDirectionType(int dirType)
Direction Type. |
void |
setDirectionUnits(int dirUnits)
Direction Units. |
void |
setDistanceCorrectionFactor(double distFactor)
Distance Correction Factor. |
void |
setSnapTips(boolean tips)
Indicates whether to show the snap tips. |
void |
setStickyMoveTolerance(int tol)
Controls the sticky move tolerance. |
void |
setUseGroundToGrid(boolean g2g)
Indicates whether to use Ground to Grid. |
Method Detail |
---|
int getStickyMoveTolerance() throws IOException, AutomationException
StickyMoveTolerance determines the minimum distance (measured in pixels) the cursor must move before the edit is completed. This can be helpful in preventing small inadvertent shifts of features when editing. By default StickyMoveTolerance is 0.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setStickyMoveTolerance(int tol) throws IOException, AutomationException
tol
- The tol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isSnapTips() throws IOException, AutomationException
Use SnapTips to determine whether snap tips are displayed when using the snapping envionrment. By default SnapTips is false.
Snap tips provide feedback in the form of a tool tip and a message in the status bar identifying the snap agent that was used to modify the current point. If the snap agent used is a feature snap agent, the layer name and hit type are displayed; otherwise the snap agent name is displayed.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSnapTips(boolean tips) throws IOException, AutomationException
tips
- The tips (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setAngularUnitPrecision(int auPrecision) throws IOException, AutomationException
auPrecision
- The auPrecision (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getAngularUnitPrecision() throws IOException, AutomationException
AngularUnitPrecision determines the number of digits displayed after the decimal place. By default AngularUnitPrecision is 4.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDirectionType(int dirType) throws IOException, AutomationException
dirType
- A com.esri.arcgis.controls.esriEngineDirectionType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getDirectionType() throws IOException, AutomationException
DirectionType determines the method of measurement for direction values. By default DirectionType is esriDTPolar.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDirectionUnits(int dirUnits) throws IOException, AutomationException
dirUnits
- A com.esri.arcgis.controls.esriEngineDirectionUnits constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getDirectionUnits() throws IOException, AutomationException
DirectionUnits defines how angles are specified; how many parts a complete circle is divided into; and how to interpret the angle value. By default DirectionUnits is esriDUDecimalDegrees.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDistanceCorrectionFactor(double distFactor) throws IOException, AutomationException
distFactor
- The distFactor (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getDistanceCorrectionFactor() throws IOException, AutomationException
DistanceCorrectionFactor determines the distance amount applied when length measurements are input into the editor. The value may be accessed or modified at any time; however, it is applied only when UseGroundToGrid is set to true. By default DistanceCorrectionFactor is 1.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setAngularCorrectionOffset(double angOffset) throws IOException, AutomationException
angOffset
- The angOffset (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getAngularCorrectionOffset() throws IOException, AutomationException
AngularCorrectionOffset determines the amount of correction applied to each entered angular value. The offset is specified in radians. This property may be accessed at any time; it is only applied when the UseGroundToGrid is set to true. By default AngularCorrectionOffset is 0 (no correction).
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setUseGroundToGrid(boolean g2g) throws IOException, AutomationException
g2g
- The g2g (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isUseGroundToGrid() throws IOException, AutomationException
UseGroundToGrid determines whether any distance or direction offsets are applied to angle or length values respectively when using the editor. By default UseGroundToGrid is false.
If UseGroundToGrid is true then the distance offset specified by DistanceCorrectionFactor and the angular offset specified by AngularCorrectionOffset are used.
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 |