ArcObjects Library Reference (Display)  

IDynamicSymbolProperties2 Interface

Provides access to dynamic symbol properties.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

This interface is new at ArcGIS 9.3. It supersedes IDynamicSymbolProperties.

Members

Description
Read/write property DynamicGlyph Indicates the dynamic glyph for the specified dynamic symbol.
Method GetColor Indicates the color for the specified dynamic symbol.
Method GetOffset Offsets the dynamic symbol.
Method GetScale Scales the dynamic symbol.
Method GetTextBoxMargins Indicates the text box margins for the dynamic text symbol.
Method GetTextSize The text size in pixel screen coordinates.
Read/write property Heading Indicates the heading for the specified dynamic symbol, relative to the rotation alignment.
Read/write property LineContinuePattern Indicates whether the line pattern is continued or restarted, for multi parts lines drawing.
Read/write property RotationAlignment Indicates the rotation alignment for the specified dynamic symbol.
Method SetColor Indicates the color for the specified dynamic symbol.
Method SetOffset Offsets the dynamic symbol.
Method SetScale Scales the dynamic symbol.
Method SetTextBoxMargins Indicates the text box margins for the dynamic text symbol.
Read/write property Smooth Indicates whether the specified dynamic symbol will be smooth.
Read/write property TextBoxHorizontalAlignment Indicates the text box horizontal alignment for the dynamic text symbol.
Read/write property TextBoxUseDynamicFillSymbol Indicates whether to use the dynamic fill symbol when drawing the text.
Read/write property TextBoxUseDynamicLineSymbol Indicates whether to use the dynamic line symbol when drawing the text.
Read/write property TextCharacterSpacing Indicates an additional space that is added to each character beyond what is defined by its character box in the TextGlyph.
Read/write property TextHorizontalAlignment Indicates the horizontal alignment for the dynamic text symbol.
Read/write property TextLeading Indicates the text leading for the dynamic text symbol.
Read/write property TextRightToLeft Indicates whether the text is drawn from right to left for the dynamic text symbol.
Read/write property TextVerticalAlignment Indicates the vertical alignment for the dynamic text symbol.
Read/write property TextWordSpacing Indicates an additional space that is added between words of the text string.
Read/write property UseReferenceScale Indicates whether the specified dynamic symbol will conform to map reference scale.

Inherited Interfaces

Interfaces Description
IDynamicSymbolProperties Provides access to dynamic symbol properties.

CoClasses that implement IDynamicSymbolProperties2

CoClasses and Classes Description
DynamicDisplay (esriCarto) Dynamic display class, used by the dynamic map.

Remarks

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.

.NET Samples

Dynamic biking (Code Files: DynamicBikingCmd) | Dynamic display—tracking dynamic object (Code Files: TrackObject) | Simple dynamic display application (Code Files: MyDynamicLayer) | RSS weather layer (Code Files: RSSWeatherLayerClass)

.NET Related Topics

Getting started with dynamic display