Create  Edit  Diff  FrontPage  Index  Search  Changes  History  Source  RSS  wikifarm  Login

MapScript.Ja - mapObj.getConfigOption Diff

  • Added parts are displayed like this.
  • Deleted parts are displayed like this.

!!mapObj.getConfigOption メソッド
!!!説明
CONFIG設定を取得する
public string getConfigOption(
    string key
);

Public Function getConfigOption(ByVal key As String) As String
!!!サンプル
!!!!コード
Dim _map As mapObj = New mapObj("")
Dim _hashTable As hashTableObj

_map.configoptions.set("PROJ_LIB", "c:\ms4w\proj\nad\")
Debug.WriteLine(_map.getConfigOption("PROJ_LIB"))

→結果 c:\ms4w\proj\nad\
 
!!!!マップファイル
MAP
  EXTENT -141 18 -52 107
  FONTSET "c:\temp\fonts.list"
  IMAGECOLOR 180 180 250
  IMAGETYPE png
  SHAPEPATH "c:\temp"
  SIZE 700 700
  STATUS ON
  UNITS KILOMETERS
  CONFIG PROJ_LIB "c:\ms4w\proj\nad\"
  NAME "MS"
!!!参照

[[mapObj メンバ]] | [[(global) 名前空間|http://wiki.fdiary.net/MapScriptJa]]