|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPatch
Provides access to members that work with a legend patch.
IPatch is the generic interfaces used to modify the aspect of the patches, the small lines or rectangles used to display legend classes and the text that goes with them.
Since the patches can be areas or lines two separate interfaces exist: IAreaPatch and ILinePatch, the associated objects contain geometries of different types but no specific properties or methods.
Method Summary | |
---|---|
IGeometry |
get_Geometry(IEnvelope bounds)
Patch geometry sized to fit the specified bounds. |
String |
getName()
Name of the patch. |
boolean |
isPreserveAspectRatio()
Indicates if aspect ratio of patch is preserved. |
void |
setGeometry(IGeometry rhs1)
Patch geometry. |
void |
setName(String name)
Name of the patch. |
void |
setPreserveAspectRatio(boolean flag)
Indicates if aspect ratio of patch is preserved. |
Method Detail |
---|
String getName() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setName(String name) throws IOException, AutomationException
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isPreserveAspectRatio() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setPreserveAspectRatio(boolean flag) throws IOException, AutomationException
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setGeometry(IGeometry rhs1) throws IOException, AutomationException
rhs1
- A reference to a com.esri.arcgis.geometry.IGeometry (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGeometry get_Geometry(IEnvelope bounds) throws IOException, AutomationException
bounds
- A reference to a com.esri.arcgis.geometry.IEnvelope (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 |