Interface ILayerElementFactory
Factory interface to assist in creating common layer definition elements
Assembly: OSGeo.MapGuide.ObjectModels.dll
Syntax
public interface ILayerElementFactory
Methods
|
Improve this Doc
View Source
CloneCompositeSymbolization(ICompositeSymbolization)
Clones the given symbolization
Declaration
ICompositeSymbolization CloneCompositeSymbolization(ICompositeSymbolization sym)
Parameters
Returns
|
Improve this Doc
View Source
CreateDefaultAdvancedPlacement(Double)
Creates a default advanced placement setting
Declaration
IAdvancedPlacement CreateDefaultAdvancedPlacement(double scaleLimit)
Parameters
Type |
Name |
Description |
System.Double |
scaleLimit |
|
Returns
|
Improve this Doc
View Source
CreateDefaultAreaRule()
Creates a default area rule (monochromatic)
Declaration
IAreaRule CreateDefaultAreaRule()
Returns
|
Improve this Doc
View Source
CreateDefaultAreaStyle()
Creates a default area style (monochromatic)
Declaration
IAreaVectorStyle CreateDefaultAreaStyle()
Returns
|
Improve this Doc
View Source
CreateDefaultAreaSymbolizationFill()
Creates a default AreaSymbolizationFill element
Declaration
IAreaSymbolizationFill CreateDefaultAreaSymbolizationFill()
Returns
|
Improve this Doc
View Source
CreateDefaultCompositeRule()
Creates the default composite rule.
Declaration
ICompositeRule CreateDefaultCompositeRule()
Returns
|
Improve this Doc
View Source
CreateDefaultCompositeStyle()
Creates a default composite style.
Declaration
ICompositeTypeStyle CreateDefaultCompositeStyle()
Returns
|
Improve this Doc
View Source
CreateDefaultFill()
Creates a default fill (monochromatic)
Declaration
IFill CreateDefaultFill()
Returns
|
Improve this Doc
View Source
CreateDefaultFontSymbol()
Declaration
IFontSymbol CreateDefaultFontSymbol()
Returns
|
Improve this Doc
View Source
CreateDefaultLineRule()
Creates a default line rule
Declaration
ILineRule CreateDefaultLineRule()
Returns
|
Improve this Doc
View Source
CreateDefaultLineStyle()
Creates a default line style (monochromatic)
Declaration
ILineVectorStyle CreateDefaultLineStyle()
Returns
|
Improve this Doc
View Source
CreateDefaultMarkSymbol()
Creates a default mark symbol
Declaration
IMarkSymbol CreateDefaultMarkSymbol()
Returns
|
Improve this Doc
View Source
CreateDefaultPointRule()
Creates a default point rule
Declaration
IPointRule CreateDefaultPointRule()
Returns
|
Improve this Doc
View Source
CreateDefaultPointStyle()
Creates a default point style
Declaration
IPointVectorStyle CreateDefaultPointStyle()
Returns
|
Improve this Doc
View Source
CreateDefaultPointSymbolization2D()
Creates a default 2D point symbolization
Declaration
IPointSymbolization2D CreateDefaultPointSymbolization2D()
Returns
|
Improve this Doc
View Source
CreateDefaultStroke()
Declaration
IStroke CreateDefaultStroke()
Returns
|
Improve this Doc
View Source
CreateDefaultTextSymbol()
Creates a default text symbol
Declaration
ITextSymbol CreateDefaultTextSymbol()
Returns
|
Improve this Doc
View Source
CreateDefaultW2DSymbol(String, String)
Creates a W2D symbol from a Symbol Library
Declaration
IW2DSymbol CreateDefaultW2DSymbol(string symbolLibrary, string symbolName)
Parameters
Type |
Name |
Description |
System.String |
symbolLibrary |
|
System.String |
symbolName |
|
Returns
|
Improve this Doc
View Source
CreateFill(String, Color, Color)
Declaration
IFill CreateFill(string pattern, Color background, Color foreground)
Parameters
Type |
Name |
Description |
System.String |
pattern |
|
System.Drawing.Color |
background |
|
System.Drawing.Color |
foreground |
|
Returns
|
Improve this Doc
View Source
CreatePair(String, String)
Creates a name-value pair
Declaration
INameStringPair CreatePair(string name, string value)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.String |
value |
|
Returns
|
Improve this Doc
View Source
CreateStroke(Color)
Creates a stroke of the specified color
Declaration
IStroke CreateStroke(Color color)
Parameters
Type |
Name |
Description |
System.Drawing.Color |
color |
|
Returns
|
Improve this Doc
View Source
CreateUrlData()
Creates tehe default URL data
Declaration
Returns
|
Improve this Doc
View Source
CreateVectorScaleRange()
Creates a vector scale range
Declaration
IVectorScaleRange CreateVectorScaleRange()
Returns
Extension Methods
OSGeo.MapGuide.ObjectModels.LayerDefinition.ExtensionMethods.CreateDefaultPointCompositeRule(OSGeo.MapGuide.ObjectModels.LayerDefinition.ILayerElementFactory)
OSGeo.MapGuide.ObjectModels.LayerDefinition.ExtensionMethods.CreateDefaultLineCompositeRule(OSGeo.MapGuide.ObjectModels.LayerDefinition.ILayerElementFactory)
OSGeo.MapGuide.ObjectModels.LayerDefinition.ExtensionMethods.CreateDefaultAreaCompositeRule(OSGeo.MapGuide.ObjectModels.LayerDefinition.ILayerElementFactory)
OSGeo.MapGuide.ObjectModels.LayerDefinition.ExtensionMethods.CreateDefaultPointCompositeStyle(OSGeo.MapGuide.ObjectModels.LayerDefinition.ILayerElementFactory)
OSGeo.MapGuide.ObjectModels.LayerDefinition.ExtensionMethods.CreateDefaultLineCompositeStyle(OSGeo.MapGuide.ObjectModels.LayerDefinition.ILayerElementFactory)
OSGeo.MapGuide.ObjectModels.LayerDefinition.ExtensionMethods.CreateDefaultAreaCompositeStyle(OSGeo.MapGuide.ObjectModels.LayerDefinition.ILayerElementFactory)