|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITemplate
Provides access to members that control the template.
IHashLineSymbol
,
ILineProperties
,
ILineSymbol
,
ITemplate
,
ICartographicLineSymbol
,
IMultiLayerLineSymbol
,
IPictureLineSymbol
Method Summary | |
---|---|
void |
addPatternElement(double mark,
double gap)
Adds a pattern element. |
void |
clearPatternElements()
Clears all pattern elements. |
void |
deletePatternElement(int index)
Removes the pattern element at the given index. |
IGeometry |
getGeometry()
The pattern geometry. |
double |
getInterval()
The interval. |
void |
getPatternElement(int index,
double[] mark,
double[] gap)
Gets pattern element properties for a given index. |
int |
getPatternElementCount()
The number of pattern elements. |
void |
movePatternElement(int fromIndex,
int toIndex)
Moves a pattern element. |
void |
queryNextLine(IGeometry pGeometry)
Queries for the next line in the pattern. |
void |
queryNextPoint(IPoint pPoint,
double[] pAngle)
Queries for the next point in the pattern. |
void |
reset()
Resets the enumerator. |
void |
setGeometryByRef(IGeometry ppGeometry)
The pattern geometry. |
void |
setInterval(double interval)
The interval. |
void |
setup(int hDC,
ITransformation transformation,
ILineSymbol lineSym)
Set up items needed by template. |
Method Detail |
---|
void setup(int hDC, ITransformation transformation, ILineSymbol lineSym) throws IOException, AutomationException
hDC
- The hDC (A COM typedef) (in)transformation
- A reference to a com.esri.arcgis.geometry.ITransformation (in)lineSym
- A reference to a com.esri.arcgis.display.ILineSymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getPatternElementCount() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getPatternElement(int index, double[] mark, double[] gap) throws IOException, AutomationException
index
- The index (in)mark
- The mark (out: use single element array)gap
- The gap (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addPatternElement(double mark, double gap) throws IOException, AutomationException
mark
- The mark (in)gap
- The gap (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void deletePatternElement(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void movePatternElement(int fromIndex, int toIndex) throws IOException, AutomationException
fromIndex
- The fromIndex (in)toIndex
- The toIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void clearPatternElements() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getInterval() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setInterval(double interval) throws IOException, AutomationException
interval
- The interval (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGeometry getGeometry() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setGeometryByRef(IGeometry ppGeometry) throws IOException, AutomationException
ppGeometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void queryNextPoint(IPoint pPoint, double[] pAngle) throws IOException, AutomationException
pPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)pAngle
- The pAngle (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void queryNextLine(IGeometry pGeometry) throws IOException, AutomationException
pGeometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void reset() throws IOException, AutomationException
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 |