Error on =4

Simbol Polygon Berdasarkan Kategori

Dim fs As New FeatureSet(FeatureType.Polygon)

fs = FeatureSet.Open(Application.StartupPath & "\FilePeta\Pulau.shp")
fs.Projection = Map1.Projection
Dim MyLayer As MapPolygonLayer = Map1.Layers.Add(fs)

Dim Kategori1 As New PolygonCategory(Color.LightSeaGreen, Color.Green, 1)
Kategori1.FilterExpression = "[KATEGORI] = 1 "
Kategori1.LegendText = "Hulu Sungai"

Dim Kategori2 As New PolygonCategory(Color.LightBlue, Color.Blue, 1)
Kategori2.FilterExpression = "[KATEGORI] = 2 "
Kategori2.LegendText = "Bajar"

Dim Sekema As New PolygonScheme
Sekema.ClearCategories()
Sekema.AddCategory(Kategori1)
Sekema.AddCategory(Kategori2)

MyLayer.ShowLabels = True
MyLayer.Symbology = Sekema

 


Comments

  • A Name wrote:

    This is an example of a comment made on a post. You can either edit the comment, delete the comment or reply to the comment. Use this as a place to respond to the post or to share what you are thinking.

  • A Name wrote:

    This is an example of a comment made on a post. You can either edit the comment, delete the comment or reply to the comment. Use this as a place to respond to the post or to share what you are thinking.

  • A Name wrote:

    This is an example of a comment made on a post. You can either edit the comment, delete the comment or reply to the comment. Use this as a place to respond to the post or to share what you are thinking.


Write A Comment

 

Menampilkan Label dari Tabel Atribut

Dalam hal ini Nama kolom digunakan untuk mengambarkan nama wilayah, Agar dapat menampilkan text label kita hanya perlu apit dengan tanda kurung siku [ ]. Coding secara sederhana sebagi beriku.

Continue Reading »

Website Universitas Islam Kalimantan (UNISKA) Syekh Muhammad Arsyad Al-Banjary - Jl.Adhyaksa No.2 Kayu Tangi - Banjarmasin.

Continue Reading »

Website Fakultas Teknologi Informasi Universitas Islam Kalimantan (UNISKA) Syekh Muhammad Arsyad Al-Banjary.

Continue Reading »

link Elearning

Statistik Pengunjung

70125
  • Total Total Kunjungan : 475
  • Total Total Hits : 16
  • Today Kunjungan Hari Ini : 9
  • Online Online User : 1
  • Update Last Update : 15-07-2015