|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEditProperties2
Provides access to more members that control the properties of an edit session.
The IEditProperties2 interface provides additional parameters to control the editor's behavior.
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. The default value 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
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. The default 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.system.esriDirectionType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getDirectionType() throws IOException, AutomationException
IEditProperties::DirectionType determines the method of measurement for direction values. The default value 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.system.esriDirectionUnits constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getDirectionUnits() throws IOException, AutomationException
The direction units define how angles are specified; how many parts a complete circle is divided into and how to interpret the angle value entered. The default value 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
Use this property to determine 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 IEditProperties::UseGroundToGrid is set to True. The default value is 0 (no correction).
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 IEditProperties2::UseGroundToGrid is True. The default value 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
Use this property to control whether any distance or direction offsets are applied to angle or length values respectively when using the editor. If UseGroundToGrid is True then the distance offset specified by IEditProperties2::DistanceCorrectionFactor and the angular offset specified by IEditProperties2::AngularCorrectionFactor are used.
g2g
- The g2g (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isUseGroundToGrid() throws IOException, AutomationException
Use this property to control whether any distance or direction offsets are applied to angle or length values respectively when using the editor. If UseGroundToGrid is True then the distance offset specified by IEditProperties2::DistanceCorrectionFactor and the angular offset specified by IEditProperties2::AngularCorrectionFactor 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 |