|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGraphicProperties
Provides access to members that control the CommandsEnvironment singleton.
The IGraphicProperties interface controls the default symbols used by the controls commands and can be used by any custom commands you develop.
Method Summary | |
---|---|
IFormattedTextSymbol |
getCallout()
The callout symbol used by the CommandsEnvironment singleton. |
IFillSymbol |
getFillSymbol()
The fill symbol used by the CommandsEnvironment singleton. |
ILineSymbol |
getLineSymbol()
The line symbol used by the CommandsEnvironment singleton. |
IMarkerSymbol |
getMarkerSymbol()
The marker symbol used by the CommandsEnvironment singleton. |
ITextSymbol |
getTextSymbol()
The text symbol used by the CommandsEnvironment singleton. |
void |
setCallout(IFormattedTextSymbol ppCallout)
The callout symbol used by the CommandsEnvironment singleton. |
void |
setFillSymbol(IFillSymbol ppFillSymbol)
The fill symbol used by the CommandsEnvironment singleton. |
void |
setLineSymbol(ILineSymbol ppLineSymbol)
The line symbol used by the CommandsEnvironment singleton. |
void |
setMarkerSymbol(IMarkerSymbol ppMarkerSymbol)
The marker symbol used by the CommandsEnvironment singleton. |
void |
setTextSymbol(ITextSymbol ppTextSymbol)
The text symbol used by the CommandsEnvironment singleton. |
Method Detail |
---|
void setMarkerSymbol(IMarkerSymbol ppMarkerSymbol) throws IOException, AutomationException
ppMarkerSymbol
- A reference to a com.esri.arcgis.display.IMarkerSymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IMarkerSymbol getMarkerSymbol() throws IOException, AutomationException
The MarkerSymbol used by the ControlsNewMarkerTool, ControlsRouteCommand and the IHookActions methods. By default the IMarkerSymbol::Size is 2, and the IMarkerSymbol::Color is black.
The IMarkerSymbol::Color returns a clone, so to change the default color set an IColor object into IMarkerSymbol::Color.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setLineSymbol(ILineSymbol ppLineSymbol) throws IOException, AutomationException
ppLineSymbol
- A reference to a com.esri.arcgis.display.ILineSymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ILineSymbol getLineSymbol() throws IOException, AutomationException
The LineSymbol used by the ControlsNewCurveTool, ControlsNewFreeHandTool, ControlsNewLineTool, ControlsInkGenericDrawTool, ControlsInkHighlightTool, ControlsInkPenTool and the IHookActions methods. By default the Size is 2, and the ILineSymbol::Color is black.
The ILineSymbol::Color returns a clone, so to change the default color set an IColor object into ILineSymbol::Color.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setFillSymbol(IFillSymbol ppFillSymbol) throws IOException, AutomationException
ppFillSymbol
- A reference to a com.esri.arcgis.display.IFillSymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IFillSymbol getFillSymbol() throws IOException, AutomationException
The FillSymbol used by the ControlsNewCircleTool, ControlsNewEllipseTool, ControlsNewPolygonTool, ControlsNewRectangleTool and the IHookActions methods. By default the IFillSymbol::Color is yellow and the IFillSymbol::Outline is black with a width of 1.
The IFillSymbol::Color and IFillSymbol::Outline return clones, so to change the default color and outline set an IColor object into IFillSymbol::Color and an ILineSymbol into IFillSymbol::Outline.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setTextSymbol(ITextSymbol ppTextSymbol) throws IOException, AutomationException
ppTextSymbol
- A reference to a com.esri.arcgis.display.ITextSymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ITextSymbol getTextSymbol() throws IOException, AutomationException
The TextSymbol used by the ControlsInkFinishSketchCommand, ControlsRouteCommand and the IHookActions methods. By default the TextSymbol is black, and size 10 using the 'Arial' font.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setCallout(IFormattedTextSymbol ppCallout) throws IOException, AutomationException
ppCallout
- A reference to a com.esri.arcgis.display.IFormattedTextSymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IFormattedTextSymbol getCallout() throws IOException, AutomationException
The Callout used by the IHookActions methods. By default the Callout is black, and size 10 using the 'Arial' font.
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 |