|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICustomColorPalette
Provides access to members that control the Setting or Creating of a Custom Color Palette.
The ICustomColorPalette interface allows you to determine exactly which colors will be shown on the ColorPalette menu, instead of displaying the colors defined in the current Styles.
The following example shows how to display a ColorPalette
with three simple colors. You would get m_app from the hook in
ICommand::OnCreate().
Method Summary | |
---|---|
void |
setColorSetByRef(ISet rhs1)
The Color Objects. |
Method Detail |
---|
void setColorSetByRef(ISet rhs1) throws IOException, AutomationException
Set the ColorSet to a Set coclass. The Set coclass, which supports the ISet interface required by the ColorSet property, should contain the Color objects you wish to display.
Note that since the ISet.Add method passes the item by reference, youmust create a new color object to pass into the method each time.
rhs1
- A reference to a com.esri.arcgis.system.ISet (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 |