|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.display.IDynamicSymbolPropertiesProxy
com.esri.arcgis.display.IDynamicSymbolProperties2Proxy
public class IDynamicSymbolProperties2Proxy
Provides access to dynamic symbol properties.
This interface is new at ArcGIS 9.3. It supersedes IDynamicSymbolProperties.
The Dynamic Display has four internal Dynamic Symbols that are being used to determine how the Dynamic Items are to be rendered. These internal Dynamic Symbols are:
· Dynamic Marker Symbol
· Dynamic Line Symbol
· Dynamic Fill Symbol
· Dynamic Text Symbol
The IDynamicSymbolProperties2 interface is used in order to set these four Dynamic Symbols’ Properties.
Each Dynamic Item that is rendered will be affected by the current state of the Internal Dynamic Symbols. For example, when DrawPolygon method is being called, the polygon’s fill will be rendered according to the current state of the internal Dynamic Fill Symbol, and the Polygon’s outline will be rendered according to the current state of the internal Dynamic Line Symbol.
| Field Summary | |
|---|---|
boolean |
noncastable
|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
|---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
| Constructor Summary | |
|---|---|
|
IDynamicSymbolProperties2Proxy()
|
|
IDynamicSymbolProperties2Proxy(Object obj)
|
protected |
IDynamicSymbolProperties2Proxy(Object obj,
String iid)
|
| Method Summary | |
|---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
getOffset(int dynamicSymbolType,
float[] offsetX,
float[] offsetY)
Offsets the dynamic symbol. |
int |
getTextBoxHorizontalAlignment()
Indicates the text box horizontal alignment for the dynamic text symbol. |
void |
getTextBoxMargins(float[] left,
float[] top,
float[] right,
float[] bottom)
Indicates the text box margins for the dynamic text symbol. |
float |
getTextCharacterSpacing()
Indicates an additional space that is added to each character beyond what is defined by its character box in the TextGlyph. |
float |
getTextLeading()
Indicates the text leading for the dynamic text symbol. |
void |
getTextSize(String text,
float[] sizeX,
float[] sizeY)
The text size in pixel screen coordinates. |
float |
getTextWordSpacing()
Indicates an additional space that is added between words of the text string. |
boolean |
isLineContinuePattern()
Indicates whether the line pattern is continued or restarted, for multi parts lines drawing. |
boolean |
isTextBoxUseDynamicFillSymbol()
Indicates whether to use the dynamic fill symbol when drawing the text. |
boolean |
isTextBoxUseDynamicLineSymbol()
Indicates whether to use the dynamic line symbol when drawing the text. |
boolean |
isTextRightToLeft()
Indicates whether the text is drawn from right to left for the dynamic text symbol. |
boolean |
isUseReferenceScale(int dynamicSymbolType)
Indicates whether the specified dynamic symbol will conform to map reference scale. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
setLineContinuePattern(boolean continuePattern)
Indicates whether the line pattern is continued or restarted, for multi parts lines drawing. |
void |
setOffset(int dynamicSymbolType,
float offsetX,
float offsetY)
Offsets the dynamic symbol. |
void |
setTextBoxHorizontalAlignment(int textBoxHorizontalAlignment)
Indicates the text box horizontal alignment for the dynamic text symbol. |
void |
setTextBoxMargins(float left,
float top,
float right,
float bottom)
Indicates the text box margins for the dynamic text symbol. |
void |
setTextBoxUseDynamicFillSymbol(boolean use)
Indicates whether to use the dynamic fill symbol when drawing the text. |
void |
setTextBoxUseDynamicLineSymbol(boolean use)
Indicates whether to use the dynamic line symbol when drawing the text. |
void |
setTextCharacterSpacing(float characterSpacing)
Indicates an additional space that is added to each character beyond what is defined by its character box in the TextGlyph. |
void |
setTextLeading(float leading)
Indicates the text leading for the dynamic text symbol. |
void |
setTextRightToLeft(boolean rightToLeft)
Indicates whether the text is drawn from right to left for the dynamic text symbol. |
void |
setTextWordSpacing(float wordSpacing)
Indicates an additional space that is added between words of the text string. |
void |
setUseReferenceScale(int dynamicSymbolType,
boolean useReferenceScale)
Indicates whether the specified dynamic symbol will conform to map reference scale. |
| Methods inherited from class com.esri.arcgis.display.IDynamicSymbolPropertiesProxy |
|---|
getColor, getDynamicGlyph, getHeading, getRotationAlignment, getScale, getTextHorizontalAlignment, getTextVerticalAlignment, isSmooth, setColor, setDynamicGlyphByRef, setHeading, setRotationAlignment, setScale, setSmooth, setTextHorizontalAlignment, setTextVerticalAlignment |
| Methods inherited from class com.esri.arcgis.interop.Dispatch |
|---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.display.IDynamicSymbolProperties |
|---|
getColor, getDynamicGlyph, getHeading, getRotationAlignment, getScale, getTextHorizontalAlignment, getTextVerticalAlignment, isSmooth, setColor, setDynamicGlyphByRef, setHeading, setRotationAlignment, setScale, setSmooth, setTextHorizontalAlignment, setTextVerticalAlignment |
| Field Detail |
|---|
public boolean noncastable
| Constructor Detail |
|---|
public IDynamicSymbolProperties2Proxy()
public IDynamicSymbolProperties2Proxy(Object obj)
throws IOException
IOException
protected IDynamicSymbolProperties2Proxy(Object obj,
String iid)
throws IOException
IOException| Method Detail |
|---|
public void addListener(String iidStr,
Object theListener,
Object theSource)
throws IOException
addListener in class IDynamicSymbolPropertiesProxyIOException
public void removeListener(String iidStr,
Object theListener)
throws IOException
removeListener in class IDynamicSymbolPropertiesProxyIOException
public void getOffset(int dynamicSymbolType,
float[] offsetX,
float[] offsetY)
throws IOException,
AutomationException
getOffset in interface IDynamicSymbolProperties2dynamicSymbolType - A com.esri.arcgis.display.esriDynamicSymbolType constant (in)offsetX - The offsetX (in/out: use single element array)offsetY - The offsetY (in/out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setOffset(int dynamicSymbolType,
float offsetX,
float offsetY)
throws IOException,
AutomationException
setOffset in interface IDynamicSymbolProperties2dynamicSymbolType - A com.esri.arcgis.display.esriDynamicSymbolType constant (in)offsetX - The offsetX (in)offsetY - The offsetY (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isUseReferenceScale(int dynamicSymbolType)
throws IOException,
AutomationException
isUseReferenceScale in interface IDynamicSymbolProperties2dynamicSymbolType - A com.esri.arcgis.display.esriDynamicSymbolType constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setUseReferenceScale(int dynamicSymbolType,
boolean useReferenceScale)
throws IOException,
AutomationException
setUseReferenceScale in interface IDynamicSymbolProperties2dynamicSymbolType - A com.esri.arcgis.display.esriDynamicSymbolType constant (in)useReferenceScale - The useReferenceScale (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getTextBoxMargins(float[] left,
float[] top,
float[] right,
float[] bottom)
throws IOException,
AutomationException
The Text Box Margins values, indicates a margin around the text in all four directions.
This also affects the anchor point of the text, along with the TextHorizontalAlignment and TextVerticalAlignment properties.
getTextBoxMargins in interface IDynamicSymbolProperties2left - The left (in/out: use single element array)top - The top (in/out: use single element array)right - The right (in/out: use single element array)bottom - The bottom (in/out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTextBoxMargins(float left,
float top,
float right,
float bottom)
throws IOException,
AutomationException
The Text Box Margins values, indicates a margin around the text in all four directions.
This also affects the anchor point of the text, along with the TextHorizontalAlignment and TextVerticalAlignment properties.
setTextBoxMargins in interface IDynamicSymbolProperties2left - The left (in)top - The top (in)right - The right (in)bottom - The bottom (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getTextBoxHorizontalAlignment()
throws IOException,
AutomationException
This property controls the Horizontal Alignment of the text inside the text box, while supporting multi lines text (using carriage return on each line end).
getTextBoxHorizontalAlignment in interface IDynamicSymbolProperties2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTextBoxHorizontalAlignment(int textBoxHorizontalAlignment)
throws IOException,
AutomationException
This property controls the Horizontal Alignment of the text inside the text box, while supporting multi lines text (using carriage return on each line end).
setTextBoxHorizontalAlignment in interface IDynamicSymbolProperties2textBoxHorizontalAlignment - A com.esri.arcgis.display.esriTextHorizontalAlignment constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isTextBoxUseDynamicFillSymbol()
throws IOException,
AutomationException
When true, text will be rendered with a background Fill, using the current internal Dynamic Fill Symbol State.
When false, text will be rendered with no background Fill.
isTextBoxUseDynamicFillSymbol in interface IDynamicSymbolProperties2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTextBoxUseDynamicFillSymbol(boolean use)
throws IOException,
AutomationException
When true, text will be rendered with a background Fill, using the current internal Dynamic Fill Symbol State.
When false, text will be rendered with no background Fill.
setTextBoxUseDynamicFillSymbol in interface IDynamicSymbolProperties2use - The use (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isTextBoxUseDynamicLineSymbol()
throws IOException,
AutomationException
When true, text will be rendered with an outline around the text box, using the current internal Dynamic Line Symbol State.
When false, text will be rendered with no outline around the text box.
isTextBoxUseDynamicLineSymbol in interface IDynamicSymbolProperties2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTextBoxUseDynamicLineSymbol(boolean use)
throws IOException,
AutomationException
When true, text will be rendered with an outline around the text box, using the current internal Dynamic Line Symbol State.
When false, text will be rendered with no outline around the text box.
setTextBoxUseDynamicLineSymbol in interface IDynamicSymbolProperties2use - The use (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public float getTextLeading()
throws IOException,
AutomationException
Text Leading specifies the spacing in pixels, between the multiple lines of a text box, when drawing text.
getTextLeading in interface IDynamicSymbolProperties2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTextLeading(float leading)
throws IOException,
AutomationException
Text Leading specifies the spacing in pixels, between the multiple lines of a text box, when drawing text.
setTextLeading in interface IDynamicSymbolProperties2leading - The leading (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public float getTextCharacterSpacing()
throws IOException,
AutomationException
getTextCharacterSpacing in interface IDynamicSymbolProperties2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTextCharacterSpacing(float characterSpacing)
throws IOException,
AutomationException
setTextCharacterSpacing in interface IDynamicSymbolProperties2characterSpacing - The characterSpacing (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public float getTextWordSpacing()
throws IOException,
AutomationException
getTextWordSpacing in interface IDynamicSymbolProperties2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTextWordSpacing(float wordSpacing)
throws IOException,
AutomationException
setTextWordSpacing in interface IDynamicSymbolProperties2wordSpacing - The wordSpacing (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isTextRightToLeft()
throws IOException,
AutomationException
RightToLeft defines whether the text is to be displayed in a right to left manner. The default value is false, meaning Left To Right manner.
isTextRightToLeft in interface IDynamicSymbolProperties2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTextRightToLeft(boolean rightToLeft)
throws IOException,
AutomationException
RightToLeft defines whether the text is to be displayed in a right to left manner. The default value is false, meaning Left To Right manner.
setTextRightToLeft in interface IDynamicSymbolProperties2rightToLeft - The rightToLeft (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getTextSize(String text,
float[] sizeX,
float[] sizeY)
throws IOException,
AutomationException
Returns the size of a given text, according to the current state of the internal Dynamic Symbols.
getTextSize in interface IDynamicSymbolProperties2text - The text (in)sizeX - The sizeX (in/out: use single element array)sizeY - The sizeY (in/out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLineContinuePattern(boolean continuePattern)
throws IOException,
AutomationException
Taking drawing a polyline as an example, if you need to render a continuous pattern, and can’t have the pattern restarted in each of the polyline’s vertices, you should set this property to true.
setLineContinuePattern in interface IDynamicSymbolProperties2continuePattern - The continuePattern (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isLineContinuePattern()
throws IOException,
AutomationException
Taking drawing a polyline as an example, if you need to render a continuous pattern, and can’t have the pattern restarted in each of the polyline’s vertices, you should set this property to true.
isLineContinuePattern in interface IDynamicSymbolProperties2IOException - 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 | ||||||||