Interface ICompoundSymbolDefinition
Represents a compound symbol definition
Inherited Members
System.ICloneable.Clone()
System.ComponentModel.INotifyPropertyChanged.PropertyChanged
Namespace: OSGeo.MapGuide.ObjectModels.SymbolDefinition
Assembly: OSGeo.MapGuide.ObjectModels.dll
Syntax
public interface ICompoundSymbolDefinition : ISymbolDefinitionBase, IResource, IVersionedEntity, ICloneable, INotifyPropertyChanged
Properties
| Improve this Doc View SourceSimpleSymbol
Gets the simple symbols.
Declaration
IEnumerable<ISimpleSymbolReferenceBase> SimpleSymbol { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ISimpleSymbolReferenceBase> | The simple symbols. |
Methods
| Improve this Doc View SourceAddSimpleSymbol(ISimpleSymbolReferenceBase)
Adds the simple symbol.
Declaration
void AddSimpleSymbol(ISimpleSymbolReferenceBase sym)
Parameters
Type | Name | Description |
---|---|---|
ISimpleSymbolReferenceBase | sym | The sym. |
CreateSimpleSymbol(ISimpleSymbolDefinition)
Creates an inline symbol definition reference
Declaration
ISimpleSymbolReferenceBase CreateSimpleSymbol(ISimpleSymbolDefinition sym)
Parameters
Type | Name | Description |
---|---|---|
ISimpleSymbolDefinition | sym |
Returns
Type | Description |
---|---|
ISimpleSymbolReferenceBase |
CreateSymbolReference(String)
Creates a resource id based symbol reference
Declaration
ISimpleSymbolReferenceBase CreateSymbolReference(string resourceId)
Parameters
Type | Name | Description |
---|---|---|
System.String | resourceId | The resource id. |
Returns
Type | Description |
---|---|
ISimpleSymbolReferenceBase |
PurgeSimpleSymbolAttributes()
Purges root element attributes from all inline Simple Symbol Definitions. This should be called before serialization
Declaration
void PurgeSimpleSymbolAttributes()
RemoveSimpleSymbol(ISimpleSymbolReferenceBase)
Removes the simple symbol.
Declaration
void RemoveSimpleSymbol(ISimpleSymbolReferenceBase sym)
Parameters
Type | Name | Description |
---|---|---|
ISimpleSymbolReferenceBase | sym | The sym. |