C# 클래스 MapAround.Mapping.MapWorkspace

Represents a map workspace.

Instances of this class is used to store map settings like a list of layers; data sources, colors, fonts, visible area, the scale of the map etc.

파일 보기 프로젝트 열기: gkrsu/maparound.core 1 사용 예제들

공개 메소드들

메소드 설명
Load ( string fileName ) : void

Loads a workspace from a file containing an xml-representation of workspace.

Save ( string fileName ) : void

Saves xml-representation of this workspace to file.

비공개 메소드들

메소드 설명
addAppDataElement ( LayerBase layer, XmlDocument doc, XmlElement layerElement ) : void
addAttribute ( XmlDocument doc, XmlElement element, string attributeName, string attributeValue ) : void
addAutoTitleSettingsElement ( FeatureLayer layer, XmlDocument doc, XmlElement layerElement ) : void
addDataProviderElement ( LayerBase layer, XmlDocument doc, XmlElement layerElement ) : void
addFeatureLayerExtesions ( IEnumerable featureLayerExtensions, XmlDocument doc, XmlElement layerElement ) : void
addIndiciesElements ( FeatureLayer layer, XmlDocument doc, XmlElement layerElement ) : void
addLayerElement ( LayerBase layer, XmlDocument doc, XmlElement layersElement ) : void
addLegendElement ( FeatureLayer layer, XmlDocument doc, XmlElement layerElement ) : void
addPointStyleElement ( PointStyle PointStyle, XmlDocument doc, XmlElement layerElement ) : void
addPolygonStyleElement ( PolygonStyle PolygonStyle, XmlDocument doc, XmlElement layerElement ) : void
addPolylineStyleElement ( PolylineStyle PolylineStyle, XmlDocument doc, XmlElement layerElement ) : void
addRasterStyleElement ( RasterLayer layer, XmlDocument doc, XmlElement layerElement ) : void
addRasterbindingElement ( RasterLayer layer, XmlDocument doc, XmlElement layerElement ) : void
addTitleStyleElement ( TitleStyle TitleStyle, XmlDocument doc, XmlElement layerElement ) : void
floatArrayToString ( float arr ) : string
getXml ( ) : string
processAppData ( XmlNode layerNode, LayerBase l ) : void
processAutoTitlesSettings ( XmlNode layerNode, FeatureLayer l ) : void
processBinding ( XmlNode layerNode, RasterLayer l ) : void
processDataProvider ( XmlNode layerNode, LayerBase l ) : void
processIndicies ( XmlNode layerNode, FeatureLayer l ) : void
processLayer ( XmlNode node ) : void
processLayerExtension ( XmlNode layerExtension, FeatureLayer fl ) : void
processLegendSettings ( XmlNode layerNode, FeatureLayer l ) : void
processPointStyle ( XmlNode layerNode, PointStyle PointStyle ) : void
processPolygonStyle ( XmlNode layerNode, PolygonStyle PolygonStyle ) : void
processPolylineStyle ( XmlNode layerNode, PolylineStyle PolylineStyle ) : void
processRaster ( XmlNode mapNode ) : void
processRasterStyle ( XmlNode layerNode, RasterLayer l ) : void
processTitleStyle ( XmlNode layerNode, TitleStyle TitleStyle ) : void
processViewBox ( XmlNode workspaceNode ) : void
setXml ( string value ) : void
stringToFloatArray ( string str ) : float[]
tryGetNodeByName ( XmlNodeList nodes, string name ) : XmlNode

메소드 상세

Load() 공개 메소드

Loads a workspace from a file containing an xml-representation of workspace.
public Load ( string fileName ) : void
fileName string File name
리턴 void

Save() 공개 메소드

Saves xml-representation of this workspace to file.
public Save ( string fileName ) : void
fileName string File name
리턴 void