Interface ICompositeSymbolization
Represents a composite symbolization
Namespace: OSGeo.MapGuide.ObjectModels.LayerDefinition
Assembly: OSGeo.MapGuide.ObjectModels.dll
Syntax
public interface ICompositeSymbolization
Properties
| Improve this Doc View SourceSymbolInstance
Gets the symbol instances.
Declaration
IEnumerable<ISymbolInstance> SymbolInstance { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ISymbolInstance> | The symbol instances. |
Methods
| Improve this Doc View SourceAddSymbolInstance(ISymbolInstance)
Adds the symbol instance.
Declaration
void AddSymbolInstance(ISymbolInstance inst)
Parameters
Type | Name | Description |
---|---|---|
ISymbolInstance | inst | The inst. |
CreateInlineCompoundSymbol(ICompoundSymbolDefinition)
Creates an inline compound symbol instance
Declaration
ISymbolInstance CreateInlineCompoundSymbol(ICompoundSymbolDefinition compDef)
Parameters
Type | Name | Description |
---|---|---|
ICompoundSymbolDefinition | compDef |
Returns
Type | Description |
---|---|
ISymbolInstance |
CreateInlineSimpleSymbol(ISimpleSymbolDefinition)
Creates an inline simple symbol instance
Declaration
ISymbolInstance CreateInlineSimpleSymbol(ISimpleSymbolDefinition symDef)
Parameters
Type | Name | Description |
---|---|---|
ISimpleSymbolDefinition | symDef |
Returns
Type | Description |
---|---|
ISymbolInstance |
CreateSymbolReference(String)
Creates a symbol reference.
Declaration
ISymbolInstance CreateSymbolReference(string resourceId)
Parameters
Type | Name | Description |
---|---|---|
System.String | resourceId |
Returns
Type | Description |
---|---|
ISymbolInstance |
MoveSymbolInstanceDown(ISymbolInstance)
Moves the specified symbol instance down
Declaration
int MoveSymbolInstanceDown(ISymbolInstance symRef)
Parameters
Type | Name | Description |
---|---|---|
ISymbolInstance | symRef |
Returns
Type | Description |
---|---|
System.Int32 |
MoveSymbolInstanceUp(ISymbolInstance)
Moves the specified symbol instance up
Declaration
int MoveSymbolInstanceUp(ISymbolInstance symRef)
Parameters
Type | Name | Description |
---|---|---|
ISymbolInstance | symRef |
Returns
Type | Description |
---|---|
System.Int32 |
RemoveAllSymbolInstances()
Removes all symbol instances
Declaration
void RemoveAllSymbolInstances()
RemoveSymbolInstance(ISymbolInstance)
Removes the symbol instance.
Declaration
void RemoveSymbolInstance(ISymbolInstance inst)
Parameters
Type | Name | Description |
---|---|---|
ISymbolInstance | inst | The inst. |
ToXml()
Returns the current symbolization as XML
Declaration
string ToXml()
Returns
Type | Description |
---|---|
System.String |
UpdateFromXml(String)
Updates this symbolization with the given XML. The given XML must be composite symbolization XML
Declaration
void UpdateFromXml(string xml)
Parameters
Type | Name | Description |
---|---|---|
System.String | xml |