Hi all
I have problem again.
ct.Expression = "[HIGHT] = 20 "
ct.DrawingOptions.PointType = MapWinGIS.tkPointSymbolType.ptSymbolPicture
ct.DrawingOptions.Picture = Img3
sfDepth.Categories.ApplyExpressions()
It's work for me.
In line 2 when I use
ct.Expression = "[COLOR] = green "
it's not work .
I know that fieldtype of [HIGHT] is integer but field [COLOR] is string.
How can I do ???
ps. I see link below but I cant do.
http://www.mapwindow.org/documentation/mapwingis4.8/_minimal_distance_8cs-example.html#a18
http://www.mapwindow.org/documentation/mapwingis4.8/_select_by_distance_8cs-example.html#a6
http://www.mapwindow.org/documentation/mapwingis4.8/_point_icons_8cs-example.html#a17
I have problem again.
I use code below(see line 2.) to display image insted of point.
ct = sfDepth.Categories.Add("d3")ct.Expression = "[HIGHT] = 20 "
ct.DrawingOptions.PointType = MapWinGIS.tkPointSymbolType.ptSymbolPicture
ct.DrawingOptions.Picture = Img3
sfDepth.Categories.ApplyExpressions()
It's work for me.
In line 2 when I use
ct.Expression = "[COLOR] = green "
it's not work .
I know that fieldtype of [HIGHT] is integer but field [COLOR] is string.
How can I do ???
ps. I see link below but I cant do.
http://www.mapwindow.org/documentation/mapwingis4.8/_minimal_distance_8cs-example.html#a18
http://www.mapwindow.org/documentation/mapwingis4.8/_select_by_distance_8cs-example.html#a6
http://www.mapwindow.org/documentation/mapwingis4.8/_point_icons_8cs-example.html#a17