|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IHatchClass
Provides access to hatch class properties.
The IHatchClass interface provides access to hatch class properties. Each hatch class has a hatch template. In order to create a HatchClass, you will need to assign a template to it.
| Method Summary | |
|---|---|
void |
convertToGraphics(IFeatureLayer pFLayer,
IGraphicsLayer pGraphicsLayer,
IDisplay pDisplay,
int convertType)
Convert to graphics. |
void |
draw(IFeatureLayer pFLayer,
IDisplay pDisplay,
ITrackCancel pTrackCancel)
Draw. |
IHatchInputValue |
getEndRange()
The EndRange. |
IQueryFilter |
getFilter()
Query definition hatch class is defined by. |
IHatchInputValue |
getHatchInterval()
Hatch Interval for the class. |
IHatchTemplate |
getHatchTemplate()
HatchTemplate for hatch class. |
IHatchInputValue |
getLateralOffset()
The LateralOffset. |
double |
getMaximumScale()
Maximum scale at which the hatch class will display. |
double |
getMinimumScale()
Minimum scale at which the hatch class will display. |
IHatchInputValue |
getStartRange()
The StartRange. |
boolean |
isShowHatches()
Indicates whether to show hatches. |
void |
setEndRangeByRef(IHatchInputValue ppEndRange)
The EndRange. |
void |
setFilterByRef(IQueryFilter ppQF)
Query definition hatch class is defined by. |
void |
setHatchIntervalByRef(IHatchInputValue ppHatchInterval)
Hatch Interval for the class. |
void |
setHatchTemplateByRef(IHatchTemplate ppHatchTemplate)
HatchTemplate for hatch class. |
void |
setLateralOffsetByRef(IHatchInputValue ppLateralOffset)
The LateralOffset. |
void |
setMaximumScale(double maxScale)
Maximum scale at which the hatch class will display. |
void |
setMinimumScale(double minScale)
Minimum scale at which the hatch class will display. |
void |
setShowHatches(boolean pshowHatches)
Indicates whether to show hatches. |
void |
setStartRangeByRef(IHatchInputValue ppStartRange)
The StartRange. |
| Method Detail |
|---|
void setShowHatches(boolean pshowHatches)
throws IOException,
AutomationException
pshowHatches - The pshowHatches (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean isShowHatches()
throws IOException,
AutomationException
The ShowHatches property (type as boolean) indicates whether to show hatches.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IHatchTemplate getHatchTemplate()
throws IOException,
AutomationException
The HatchTemplate property will need to be associated to a HatchClass.
IHatchClass pHatchClass1 = new HatchClass();
pHatchClass1.setHatchTemplateByRef(pHatchTemplate);
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setHatchTemplateByRef(IHatchTemplate ppHatchTemplate)
throws IOException,
AutomationException
ppHatchTemplate - A reference to a com.esri.arcgis.location.IHatchTemplate (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IHatchInputValue getHatchInterval()
throws IOException,
AutomationException
The HatchInterval property controls interval between successive hatches.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setHatchIntervalByRef(IHatchInputValue ppHatchInterval)
throws IOException,
AutomationException
ppHatchInterval - A reference to a com.esri.arcgis.location.IHatchInputValue (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IQueryFilter getFilter()
throws IOException,
AutomationException
The Filter property defines the query definition for a hatch class.
IQueryFilter pQFilt = new QueryFilter();
pQFilt.setWhereClause( "[OBJECTID] = 4 OR [OBJECTID] = 6");
pHatchClass1.setFilterByRef(pQFilt);
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setFilterByRef(IQueryFilter ppQF)
throws IOException,
AutomationException
ppQF - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
double getMinimumScale()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setMinimumScale(double minScale)
throws IOException,
AutomationException
minScale - The minScale (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
double getMaximumScale()
throws IOException,
AutomationException
The MaximumScale property defines the maximum scale at which the hatch class will display.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setMaximumScale(double maxScale)
throws IOException,
AutomationException
maxScale - The maxScale (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IHatchInputValue getStartRange()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setStartRangeByRef(IHatchInputValue ppStartRange)
throws IOException,
AutomationException
ppStartRange - A reference to a com.esri.arcgis.location.IHatchInputValue (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IHatchInputValue getEndRange()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setEndRangeByRef(IHatchInputValue ppEndRange)
throws IOException,
AutomationException
ppEndRange - A reference to a com.esri.arcgis.location.IHatchInputValue (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IHatchInputValue getLateralOffset()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setLateralOffsetByRef(IHatchInputValue ppLateralOffset)
throws IOException,
AutomationException
ppLateralOffset - A reference to a com.esri.arcgis.location.IHatchInputValue (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void draw(IFeatureLayer pFLayer,
IDisplay pDisplay,
ITrackCancel pTrackCancel)
throws IOException,
AutomationException
pFLayer - A reference to a com.esri.arcgis.carto.IFeatureLayer (in)pDisplay - A reference to a com.esri.arcgis.display.IDisplay (in)pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void convertToGraphics(IFeatureLayer pFLayer,
IGraphicsLayer pGraphicsLayer,
IDisplay pDisplay,
int convertType)
throws IOException,
AutomationException
pFLayer - A reference to a com.esri.arcgis.carto.IFeatureLayer (in)pGraphicsLayer - A reference to a com.esri.arcgis.carto.IGraphicsLayer (in)pDisplay - A reference to a com.esri.arcgis.display.IDisplay (in)convertType - A com.esri.arcgis.location.esriConvertHatchesToGraphicsType constant (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 | ||||||||