# Different Color on PointStyle

**URL:** <https://community.thinkgeo.com/t/different-color-on-pointstyle/1580>\
**Category:** WinForms\
**Created:** [February 2, 2011, 5:28am UTC](https://community.thinkgeo.com/t/different-color-on-pointstyle/1580 "2011-02-02T05:28:58Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sanjay](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/s/58956e/32.png) [@Sanjay](https://community.thinkgeo.com/u/Sanjay)\
**Post date:** [February 2, 2011, 5:28am UTC](https://community.thinkgeo.com/t/different-color-on-pointstyle/1580/1 "2011-02-02T05:28:58Z")

</div>

Dear&nbsp;All,

A&nbsp;tab&nbsp;file&nbsp;is&nbsp;loaded&nbsp;on&nbsp;map,&nbsp;and&nbsp;it&nbsp;display&nbsp;the&nbsp;route,

Tab&nbsp;file&nbsp;contains&nbsp;LAT,&nbsp;LONG&nbsp;and&nbsp;RXLEV&nbsp;column.&nbsp;I&nbsp;want&nbsp;to&nbsp;show&nbsp;value&nbsp;falling&nbsp;different&nbsp;range&nbsp;with&nbsp;different&nbsp;color&nbsp;and&nbsp;shape.

Like&nbsp;:

RXLEV&nbsp;range&nbsp;between&nbsp;(-30&nbsp;to&nbsp;-65)&nbsp;in&nbsp;green&nbsp;color&nbsp;with&nbsp;Circle

RXLEV&nbsp;range&nbsp;between&nbsp;(-65&nbsp;to&nbsp;-80)&nbsp;in&nbsp;yellow&nbsp;color&nbsp;with&nbsp;Triangle

RXLEV&nbsp;range&nbsp;between&nbsp;(-80&nbsp;to&nbsp;-100)&nbsp;in&nbsp;Blue&nbsp;color&nbsp;with&nbsp;Square.

is&nbsp;it&nbsp;possible?

Please&nbsp;help

Regards

Sanjay

&nbsp;

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [February 2, 2011, 8:03am UTC](https://community.thinkgeo.com/t/different-color-on-pointstyle/1580/2 "2011-02-02T08:03:26Z")

</div>

Sanjay,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks&nbsp;for&nbsp;your&nbsp;post.&nbsp;  
&nbsp;&nbsp;  
&nbsp;We&nbsp;provide&nbsp;a&nbsp;ValueStyle&nbsp;you&nbsp;can&nbsp;set&nbsp;different&nbsp;style&nbsp;based&nbsp;on&nbsp;column&nbsp;values&nbsp;for&nbsp;the&nbsp;same&nbsp;shape&nbsp;files.&nbsp;There&nbsp;is&nbsp;a&nbsp;sample&nbsp;code&nbsp;in&nbsp;our&nbsp;HowDoI&nbsp;sample,&nbsp;you&nbsp;can&nbsp;find&nbsp;it&nbsp;under&nbsp;Styles&nbsp;category.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;James

---

<div class="post-metadata">

**Author:** ![Sanjay](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/s/58956e/32.png) [@Sanjay](https://community.thinkgeo.com/u/Sanjay)\
**Post date:** [February 2, 2011, 11:02pm UTC](https://community.thinkgeo.com/t/different-color-on-pointstyle/1580/3 "2011-02-02T23:02:53Z")

</div>

Hi&nbsp;James&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks&nbsp;for&nbsp;your&nbsp;reply,&nbsp;  
&nbsp;&nbsp;  
&nbsp;As&nbsp;you&nbsp;suggested,&nbsp;I&nbsp;have&nbsp;already&nbsp;done&nbsp;with&nbsp;examples,&nbsp;but&nbsp;as&nbsp;per&nbsp;example&nbsp;in&nbsp;value&nbsp;style&nbsp;we&nbsp;can&nbsp;define&nbsp;single&nbsp;value&nbsp;with&nbsp;valueItem,&nbsp;but&nbsp;I&nbsp;have&nbsp;to&nbsp;check&nbsp;a&nbsp;full&nbsp;range&nbsp;of&nbsp;value,&nbsp;as&nbsp;I&nbsp;have&nbsp;defined&nbsp;in&nbsp;my&nbsp;first&nbsp;post.&nbsp;How&nbsp;we&nbsp;can&nbsp;check&nbsp;a&nbsp;range&nbsp;of&nbsp;value.&nbsp;In&nbsp;my&nbsp;case&nbsp;it&nbsp;is&nbsp;TAB&nbsp;file&nbsp;and&nbsp;column&nbsp;data&nbsp;type&nbsp;is&nbsp;Int32.&nbsp;Please&nbsp;help/&nbsp;  
&nbsp;&nbsp;  
&nbsp;Please&nbsp;suggest&nbsp;  
&nbsp;Regards&nbsp;  
&nbsp;Sanjay

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [February 3, 2011, 4:01am UTC](https://community.thinkgeo.com/t/different-color-on-pointstyle/1580/4 "2011-02-03T04:01:49Z")

</div>

Sanjay,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Try&nbsp;ClassBreakStyle,&nbsp;you&nbsp;also&nbsp;can&nbsp;find&nbsp;the&nbsp;HowDoI&nbsp;sample&nbsp;"DrawThematicFeatures"&nbsp;which&nbsp;shows&nbsp;you&nbsp;how&nbsp;to&nbsp;do&nbsp;it.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;James

---

<div class="post-metadata">

**Author:** ![Sanjay](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/s/58956e/32.png) [@Sanjay](https://community.thinkgeo.com/u/Sanjay)\
**Post date:** [February 3, 2011, 6:38am UTC](https://community.thinkgeo.com/t/different-color-on-pointstyle/1580/5 "2011-02-03T06:38:06Z")

</div>

James,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks&nbsp;for&nbsp;your&nbsp;reply.&nbsp;  
&nbsp;&nbsp;  
&nbsp;James&nbsp;I&nbsp;have&nbsp;completed&nbsp;this&nbsp;with&nbsp;as&nbsp;suggested&nbsp;by&nbsp;you&nbsp;and&nbsp;it&nbsp;is&nbsp;working&nbsp;perfectly,&nbsp;thanks&nbsp;again.&nbsp;  
&nbsp;&nbsp;  
&nbsp;My&nbsp;Next&nbsp;issue&nbsp;is&nbsp;and&nbsp;also&nbsp;company&nbsp;requirement,&nbsp;I&nbsp;have&nbsp;multiple&nbsp;TAB&nbsp;file,&nbsp;which&nbsp;is&nbsp;selected&nbsp;by&nbsp;the&nbsp;user&nbsp;with&nbsp;help&nbsp;of&nbsp;open&nbsp;dialog&nbsp;box,&nbsp;till&nbsp;this&nbsp;point&nbsp;I&nbsp;have&nbsp;no&nbsp;problem.&nbsp;  
&nbsp;&nbsp;  
&nbsp;But&nbsp;some&nbsp;TAB&nbsp;file&nbsp;is&nbsp;working&nbsp;with&nbsp;DefaultAreaStyle,&nbsp;some&nbsp;with&nbsp;DefaultLineStyle&nbsp;and&nbsp;Some&nbsp;with&nbsp;DefaultPointStyle.&nbsp;Perhaps&nbsp;it&nbsp;will&nbsp;based&nbsp;on&nbsp;nature&nbsp;of&nbsp;TAB&nbsp;file,&nbsp;I&nbsp;don’t&nbsp;know&nbsp;about&nbsp;this.&nbsp;So,&nbsp;with&nbsp;code&nbsp;how&nbsp;we&nbsp;can&nbsp;decide&nbsp;about&nbsp;default&nbsp;style.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Please&nbsp;help,&nbsp;  
&nbsp;Regards&nbsp;  
&nbsp;Sanjay

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [February 3, 2011, 7:01am UTC](https://community.thinkgeo.com/t/different-color-on-pointstyle/1580/6 "2011-02-03T07:01:25Z")

</div>

Sanjay,&nbsp;  
&nbsp;&nbsp;  
&nbsp;I&nbsp;am&nbsp;glad&nbsp;it’s&nbsp;working&nbsp;with&nbsp;you&nbsp;for&nbsp;your&nbsp;first&nbsp;issue.&nbsp;  
&nbsp;&nbsp;  
&nbsp;About&nbsp;the&nbsp;second&nbsp;issue,&nbsp;you&nbsp;can&nbsp;create&nbsp;three&nbsp;styles,&nbsp;and&nbsp;add&nbsp;them&nbsp;all&nbsp;to&nbsp;CustomStyles&nbsp;rather&nbsp;than&nbsp;set&nbsp;them&nbsp;to&nbsp;Default&nbsp;style.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;James

---

<div class="post-metadata">

**Author:** ![Sanjay](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/s/58956e/32.png) [@Sanjay](https://community.thinkgeo.com/u/Sanjay)\
**Post date:** [February 4, 2011, 1:31am UTC](https://community.thinkgeo.com/t/different-color-on-pointstyle/1580/7 "2011-02-04T01:31:51Z")

</div>

Dear&nbsp;James,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks&nbsp;for&nbsp;your&nbsp;reply,&nbsp;  
&nbsp;&nbsp;  
&nbsp;I&nbsp;have&nbsp;added&nbsp;three&nbsp;custom&nbsp;styles&nbsp;as&nbsp;per&nbsp;following&nbsp;code,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Dim&nbsp;customAreaStyle&nbsp;As&nbsp;Style&nbsp;=&nbsp;New&nbsp;AreaStyle(New&nbsp;GeoSolidBrush(New&nbsp;GeoColor(150,&nbsp;GeoColor.StandardColors.Gray)))&nbsp;  
&nbsp;Dim&nbsp;customPointStyle&nbsp;As&nbsp;Style&nbsp;=&nbsp;New&nbsp;PointStyle(PointSymbolType.Circle,&nbsp;New&nbsp;GeoSolidBrush(GeoColor.StandardColors.Red),&nbsp;5)&nbsp;  
&nbsp;Dim&nbsp;customLineStyle&nbsp;As&nbsp;Style&nbsp;=&nbsp;New&nbsp;LineStyle(New&nbsp;GeoPen(GeoColor.FromArgb(200,&nbsp;GeoColor.StandardColors.Red),&nbsp;5))&nbsp;  
&nbsp;worldLayer.ZoomLevelSet.ZoomLevel01.CustomStyles.Add(customAreaStyle)&nbsp;  
&nbsp;worldLayer.ZoomLevelSet.ZoomLevel01.CustomStyles.Add(customPointStyle)&nbsp;  
&nbsp;worldLayer.ZoomLevelSet.ZoomLevel01.CustomStyles.Add(customLineStyle)&nbsp;  
&nbsp;&nbsp;  
&nbsp;But&nbsp;unfotunately&nbsp;its&nbsp;not&nbsp;showing&nbsp;map.&nbsp;I&nbsp;think&nbsp;any&nbsp;correction&nbsp;required&nbsp;in&nbsp;code?&nbsp;  
&nbsp;&nbsp;  
&nbsp;Please&nbsp;help&nbsp;  
&nbsp;Regards&nbsp;  
&nbsp;Sanjay

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [February 4, 2011, 7:41am UTC](https://community.thinkgeo.com/t/different-color-on-pointstyle/1580/8 "2011-02-04T07:41:49Z")

</div>

Sanjay,&nbsp;  
&nbsp;&nbsp;&nbsp;  
&nbsp;Maybe&nbsp;you&nbsp;miss&nbsp;the&nbsp;code&nbsp;for&nbsp;apply&nbsp;zoomlevel.&nbsp;  
&nbsp;&nbsp;  
&nbsp;worldLayer.ZoomLevelSet.ZoomLevel01.ApplyZoomLevel&nbsp;=&nbsp;ZoomLevels.Level20&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;James

---

<div class="post-metadata">

**Author:** ![Sanjay](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/s/58956e/32.png) [@Sanjay](https://community.thinkgeo.com/u/Sanjay)\
**Post date:** [February 4, 2011, 11:30pm UTC](https://community.thinkgeo.com/t/different-color-on-pointstyle/1580/9 "2011-02-04T23:30:56Z")

</div>

James,

Thanks&nbsp;for&nbsp;reply.

Actually&nbsp;I&nbsp;have&nbsp;written&nbsp;your&nbsp;suggested&nbsp;statements&nbsp;before&nbsp;define&nbsp;the&nbsp;custom&nbsp;style,&nbsp;thats&nbsp;why&nbsp;I&nbsp;think&nbsp;it&nbsp;is&nbsp;not&nbsp;worked,&nbsp;but&nbsp;when&nbsp;I&nbsp;have&nbsp;written&nbsp;this&nbsp;statement&nbsp;after&nbsp;custom&nbsp;style,&nbsp;now&nbsp;its&nbsp;working&nbsp;thanks&nbsp;again.

James,&nbsp;I&nbsp;have&nbsp;a&nbsp;map&nbsp;of&nbsp;State,&nbsp;when&nbsp;I&nbsp;open&nbsp;this&nbsp;with&nbsp;help&nbsp;of&nbsp;map&nbsp;info,&nbsp;it&nbsp;showing&nbsp;with&nbsp;different&nbsp;color&nbsp;coding&nbsp;for&nbsp;Primary&nbsp;Road&nbsp;class,&nbsp;Secondary&nbsp;Road&nbsp;class,&nbsp;Maon&nbsp;Road&nbsp;class,&nbsp;Highway&nbsp;class,&nbsp;Street&nbsp;class,&nbsp;Railway&nbsp;class,&nbsp;&nbsp;water&nbsp;class&nbsp;etc.,&nbsp;In&nbsp;map&nbsp;suite&nbsp;all&nbsp;this&nbsp;is&nbsp;property&nbsp;is&nbsp;part&nbsp;of&nbsp;LineStyles&nbsp;or&nbsp;PointStyles&nbsp;or&nbsp;AreaStyle,&nbsp;which&nbsp;I&nbsp;can&nbsp;select&nbsp;seperately.

How&nbsp;can&nbsp;I&nbsp;implement&nbsp;this&nbsp;feature&nbsp;with&nbsp;Map&nbsp;Suite?&nbsp;Can&nbsp;we&nbsp;have&nbsp;to&nbsp;define&nbsp;all&nbsp;&nbsp;this&nbsp;property&nbsp;with&nbsp;custom&nbsp;style,&nbsp;which&nbsp;I&nbsp;have&nbsp;tried&nbsp;and&nbsp;output&nbsp;is&nbsp;attached.&nbsp;Please&nbsp;go&nbsp;through&nbsp;the&nbsp;file.&nbsp;It&nbsp;putting&nbsp;all&nbsp;color&nbsp;simultaneously.

Please&nbsp;help,

Thanks

Sanjay

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [February 6, 2011, 10:26am UTC](https://community.thinkgeo.com/t/different-color-on-pointstyle/1580/10 "2011-02-06T10:26:29Z")

</div>

Sanjay,&nbsp;  
&nbsp;&nbsp;  
&nbsp;I&nbsp;have&nbsp;checked&nbsp;your&nbsp;attachment,&nbsp;according&nbsp;to&nbsp;your&nbsp;description,&nbsp;I&nbsp;think&nbsp;you&nbsp;have&nbsp;multiple&nbsp;shape&nbsp;file&nbsp;for&nbsp;the&nbsp;primary&nbsp;roads,&nbsp;secondary&nbsp;roads,&nbsp;highway&nbsp;and&nbsp;so&nbsp;on&nbsp;and&nbsp;you&nbsp;render&nbsp;them&nbsp;used&nbsp;different&nbsp;styles.&nbsp;If&nbsp;you&nbsp;don’t&nbsp;want&nbsp;to&nbsp;all&nbsp;color&nbsp;simultaneously&nbsp;please&nbsp;set&nbsp;zoomlevel&nbsp;for&nbsp;each&nbsp;shape&nbsp;file&nbsp;so&nbsp;that&nbsp;they&nbsp;will&nbsp;not&nbsp;render&nbsp;the&nbsp;shape&nbsp;simultaneously.&nbsp;Before&nbsp;James&nbsp;told&nbsp;you&nbsp;that&nbsp;you&nbsp;need&nbsp;to&nbsp;add&nbsp;this&nbsp;code&nbsp;to&nbsp;your&nbsp;application&nbsp;below:&nbsp;  
&nbsp;&nbsp;  
&nbsp;worldLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel&nbsp;=&nbsp;ApplyUntilZoomLevel.Level20;&nbsp;  
&nbsp;&nbsp;  
&nbsp;You&nbsp;just&nbsp;change&nbsp;the&nbsp;apply&nbsp;zoomleve&nbsp;for&nbsp;different&nbsp;shape&nbsp;files,&nbsp;for&nbsp;example,&nbsp;you&nbsp;can&nbsp;set&nbsp;the&nbsp;apply&nbsp;zoomlevel&nbsp;&nbsp;for&nbsp;highway&nbsp;as&nbsp;below:&nbsp;  
&nbsp;&nbsp;  
&nbsp;hiwayLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel&nbsp;=&nbsp;ApplyUntilZoomLevel.Level10;&nbsp;  
&nbsp;&nbsp;  
&nbsp;And&nbsp;set&nbsp;the&nbsp;apply&nbsp;zoomlevel&nbsp;for&nbsp;primary&nbsp;roads&nbsp;as&nbsp;below:&nbsp;  
&nbsp;&nbsp;  
&nbsp;primaryRoadLayer.ZoomLevelSet.ZoomLevel10.ApplyUntilZoomLevel&nbsp;=&nbsp;ApplyUntilZoomLevel.Level20;&nbsp;  
&nbsp;&nbsp;  
&nbsp;If&nbsp;I&nbsp;misunderstood&nbsp;anything&nbsp;please&nbsp;let&nbsp;me&nbsp;know&nbsp;again,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Scott,&nbsp;  
&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;&nbsp;

---

<div class="post-metadata">

**Author:** ![Sanjay](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/s/58956e/32.png) [@Sanjay](https://community.thinkgeo.com/u/Sanjay)\
**Post date:** [February 6, 2011, 11:41pm UTC](https://community.thinkgeo.com/t/different-color-on-pointstyle/1580/11 "2011-02-06T23:41:28Z")

</div>

Scott,&nbsp;  
  
  
  
Your&nbsp;are&nbsp;right,&nbsp;Fot&nbsp;the&nbsp;different&nbsp;class&nbsp;multiple&nbsp;shape&nbsp;files&nbsp;required.&nbsp;But&nbsp;when&nbsp;I&nbsp;open&nbsp;a&nbsp;single&nbsp;TAB&nbsp;file&nbsp;with&nbsp;help&nbsp;of&nbsp;MAP&nbsp;SUITE&nbsp;it&nbsp;shows&nbsp;single&nbsp;color&nbsp;which&nbsp;I&nbsp;have&nbsp;selected&nbsp;in&nbsp;LineStyle,&nbsp;but&nbsp;the&nbsp;same&nbsp;file&nbsp;when&nbsp;open&nbsp;with&nbsp;help&nbsp;of&nbsp;MAP&nbsp;INFO,&nbsp;it&nbsp;shows&nbsp;in&nbsp;differentc&nbsp;color&nbsp;code.&nbsp;  
  
  
  
Is&nbsp;you&nbsp;are&nbsp;saying&nbsp;that&nbsp;map&nbsp;info&nbsp;has&nbsp;inbuit&nbsp;shape&nbsp;file??&nbsp;  
  
If&nbsp;you&nbsp;not&nbsp;understanding&nbsp;my&nbsp;question&nbsp;then&nbsp;I&nbsp;can&nbsp;send&nbsp;you&nbsp;a&nbsp;screen&nbsp;shot&nbsp;of&nbsp;Both&nbsp;(Map&nbsp;Suite&nbsp;and&nbsp;Map&nbsp;Info).&nbsp;  
  
  
  
Please&nbsp;help&nbsp;  
  
Thaks&nbsp;  
  
Sanjay

---

<div class="post-metadata">

**Author:** ![David4](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/d/8e7dd6/32.png) [@David4](https://community.thinkgeo.com/u/David4)\
**Post date:** [February 7, 2011, 12:02am UTC](https://community.thinkgeo.com/t/different-color-on-pointstyle/1580/12 "2011-02-07T00:02:03Z")

</div>

In&nbsp;MapInfo,&nbsp;each&nbsp;individual&nbsp;point&nbsp;(line/region)&nbsp;in&nbsp;a&nbsp;layer/file&nbsp;can&nbsp;&nbsp;have&nbsp;it's&nbsp;own&nbsp;style&nbsp;-&nbsp;shape/colour/size/etc.&nbsp;My&nbsp;screen&nbsp;dump&nbsp;shows&nbsp;a&nbsp;&nbsp;point&nbsp;.TAB&nbsp;file&nbsp;opened&nbsp;in&nbsp;a&nbsp;map&nbsp;windows&nbsp;&&nbsp;a&nbsp;browser&nbsp;&nbsp;MapInfo&nbsp;8.0&nbsp;showing&nbsp;some&nbsp;points&nbsp;as&nbsp;yellow&nbsp;stars&nbsp;and&nbsp;others&nbsp;as&nbsp;pink&nbsp;&nbsp;circles.&nbsp;All&nbsp;this&nbsp;info&nbsp;is&nbsp;stored&nbsp;in&nbsp;the&nbsp;table&nbsp;itself&nbsp;-&nbsp;and&nbsp;a&nbsp;table&nbsp;&nbsp;consists&nbsp;of&nbsp;4&nbsp;files&nbsp;-&nbsp;\*.tab,&nbsp;\*.id,&nbsp;\*.map&nbsp;&&nbsp;\*.dat.&nbsp;As&nbsp;you&nbsp;can&nbsp;see&nbsp;there&nbsp;is&nbsp;no&nbsp;indication&nbsp;of&nbsp;style&nbsp;differences&nbsp;in&nbsp;the&nbsp;tabular&nbsp;data&nbsp;so&nbsp;it&nbsp;is&nbsp;all&nbsp;contained&nbsp;in&nbsp;the&nbsp;graphic&nbsp;data.

 ![](https://community.thinkgeo.com/uploads/default/original/2X/c/c744b02d33326550d8296a7fc2aee4f443dc8074.png)

I&nbsp;don't&nbsp;think&nbsp;the&nbsp;MapInfo&nbsp;functionality&nbsp;of&nbsp;ThinkGeo&nbsp;can&nbsp;bring&nbsp;in&nbsp;the&nbsp;styles&nbsp;from&nbsp;MapInfo&nbsp;tables&nbsp;automatically,&nbsp;though&nbsp;I&nbsp;hope&nbsp;it&nbsp;can&nbsp;as&nbsp;I&nbsp;have&nbsp;several&nbsp;thousand&nbsp;MapInfo&nbsp;tables&nbsp;which&nbsp;I&nbsp;would&nbsp;like&nbsp;to&nbsp;be&nbsp;able&nbsp;to&nbsp;bring&nbsp;in&nbsp;at&nbsp;any&nbsp;time&nbsp;without&nbsp;losing&nbsp;all&nbsp;the&nbsp;styles&nbsp;that&nbsp;have&nbsp;been&nbsp;built&nbsp;up&nbsp;in&nbsp;our&nbsp;company&nbsp;over&nbsp;the&nbsp;years.

---

<div class="post-metadata">

**Author:** ![Sanjay](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/s/58956e/32.png) [@Sanjay](https://community.thinkgeo.com/u/Sanjay)\
**Post date:** [February 7, 2011, 5:37am UTC](https://community.thinkgeo.com/t/different-color-on-pointstyle/1580/13 "2011-02-07T05:37:20Z")

</div>

David,&nbsp;  
&nbsp;&nbsp;  
&nbsp;I&nbsp;want&nbsp;to&nbsp;send&nbsp;the&nbsp;vector&nbsp;and&nbsp;comparative&nbsp;image&nbsp;to&nbsp;you&nbsp;to&nbsp;show&nbsp;the&nbsp;requirement.&nbsp;But&nbsp;the&nbsp;zip&nbsp;file&nbsp;size&nbsp;is&nbsp;12&nbsp;MB.&nbsp;Please&nbsp;send&nbsp;your&nbsp;email&nbsp;id,&nbsp;so&nbsp;that&nbsp;you&nbsp;can&nbsp;check&nbsp;it.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Regards&nbsp;  
&nbsp;Sanjay

---

<div class="post-metadata">

**Author:** ![David4](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/d/8e7dd6/32.png) [@David4](https://community.thinkgeo.com/u/David4)\
**Post date:** [February 7, 2011, 7:29am UTC](https://community.thinkgeo.com/t/different-color-on-pointstyle/1580/14 "2011-02-07T07:29:19Z")

</div>

Oh,&nbsp;I’m&nbsp;only&nbsp;another&nbsp;ThinkGeo&nbsp;customer,&nbsp;not&nbsp;one&nbsp;of&nbsp;their&nbsp;staff&nbsp;(a&nbsp;lot&nbsp;of&nbsp;Davids&nbsp;on&nbsp;this&nbsp;forum!).&nbsp;  
&nbsp;&nbsp;  
&nbsp;I’ve&nbsp;been&nbsp;using&nbsp;MapInfo&nbsp;for&nbsp;years&nbsp;and&nbsp;in&nbsp;fact&nbsp;wanted&nbsp;to&nbsp;get&nbsp;into&nbsp;ThinkGeo&nbsp;in&nbsp;late&nbsp;2007&nbsp;but&nbsp;had&nbsp;to&nbsp;wait&nbsp;until&nbsp;they&nbsp;had&nbsp;some&nbsp;sort&nbsp;of&nbsp;MapInfo&nbsp;capability&nbsp;before&nbsp;I&nbsp;could&nbsp;even&nbsp;consider&nbsp;it.&nbsp;Now&nbsp;that&nbsp;we&nbsp;bought&nbsp;it,&nbsp;I&nbsp;haven’t&nbsp;even&nbsp;started&nbsp;on&nbsp;the&nbsp;MapInfo&nbsp;input&nbsp;yet!&nbsp;:-)

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [February 7, 2011, 10:10am UTC](https://community.thinkgeo.com/t/different-color-on-pointstyle/1580/15 "2011-02-07T10:10:29Z")

</div>

Sanjay,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Can&nbsp;you&nbsp;send&nbsp;your&nbsp;shape&nbsp;file&nbsp;and&nbsp;sample&nbsp;application&nbsp;to&nbsp;me&nbsp;so&nbsp;that&nbsp;I&nbsp;can&nbsp;debug&nbsp;and&nbsp;track&nbsp;your&nbsp;problem&nbsp;exactly,&nbsp;as&nbsp;so&nbsp;far&nbsp;I&nbsp;still&nbsp;cannot&nbsp;reproduce&nbsp;your&nbsp;problem&nbsp;correctly,&nbsp;maybe&nbsp;there&nbsp;are&nbsp;differences&nbsp;between&nbsp;us.&nbsp;So&nbsp;I&nbsp;have&nbsp;to&nbsp;request&nbsp;two&nbsp;things&nbsp;to&nbsp;you:&nbsp;  
&nbsp;&nbsp;  
&nbsp;1.&nbsp;Your&nbsp;sample&nbsp;application,&nbsp;we&nbsp;need&nbsp;to&nbsp;see&nbsp;the&nbsp;code&nbsp;logic&nbsp;is&nbsp;correct&nbsp;in&nbsp;your&nbsp;application.&nbsp;  
&nbsp;2,&nbsp;Test&nbsp;and&nbsp;debug&nbsp;the&nbsp;sample&nbsp;application&nbsp;what&nbsp;you&nbsp;provided&nbsp;based&nbsp;on&nbsp;your&nbsp;shape&nbsp;file.&nbsp;  
&nbsp;&nbsp;  
&nbsp;In&nbsp;addition,&nbsp;thanks&nbsp;helps&nbsp;from&nbsp;David,&nbsp;we&nbsp;will&nbsp;try&nbsp;the&nbsp;best&nbsp;on&nbsp;our&nbsp;products&nbsp;in&nbsp;the&nbsp;future,&nbsp;so&nbsp;your&nbsp;suggestions&nbsp;and&nbsp;feedbacks&nbsp;are&nbsp;important&nbsp;for&nbsp;us,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Scott,&nbsp;

---

<div class="post-metadata">

**Author:** ![Sanjay](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/s/58956e/32.png) [@Sanjay](https://community.thinkgeo.com/u/Sanjay)\
**Post date:** [February 7, 2011, 11:03pm UTC](https://community.thinkgeo.com/t/different-color-on-pointstyle/1580/16 "2011-02-07T23:03:58Z")

</div>

Scott,&nbsp;  
&nbsp;&nbsp;  
&nbsp;As&nbsp;I&nbsp;have&nbsp;written&nbsp;is&nbsp;earlier&nbsp;post,&nbsp;my&nbsp;vectore&nbsp;file&nbsp;with&nbsp;application&nbsp;and&nbsp;screen&nbsp;shot&nbsp;of&nbsp;same&nbsp;vector&nbsp;(both&nbsp;on&nbsp;MAP&nbsp;Suite&nbsp;and&nbsp;MAP&nbsp;Info)&nbsp;is&nbsp;arount&nbsp;13&nbsp;MB,&nbsp;So&nbsp;I&nbsp;want&nbsp;the&nbsp;mail&nbsp;Id,&nbsp;on&nbsp;which&nbsp;I&nbsp;can&nbsp;attach&nbsp;all&nbsp;these&nbsp;files&nbsp;for&nbsp;your&nbsp;reference.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Regards&nbsp;  
&nbsp;Sanjay

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [February 8, 2011, 8:12am UTC](https://community.thinkgeo.com/t/different-color-on-pointstyle/1580/17 "2011-02-08T08:12:56Z")

</div>

Sanjay,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Please&nbsp;set&nbsp;them&nbsp;to&nbsp;[forumsupport@thinkgeo.com](mailto:forumsupport@thinkgeo.com)&nbsp;and&nbsp;let&nbsp;him&nbsp;forward&nbsp;to&nbsp;Scott&nbsp;and&nbsp;James&nbsp;to&nbsp;say&nbsp;it’s&nbsp;about&nbsp;post&nbsp;8742.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;James

---

<div class="post-metadata">

**Author:** ![Sanjay](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/s/58956e/32.png) [@Sanjay](https://community.thinkgeo.com/u/Sanjay)\
**Post date:** [February 9, 2011, 3:20am UTC](https://community.thinkgeo.com/t/different-color-on-pointstyle/1580/18 "2011-02-09T03:20:11Z")

</div>

Dear&nbsp;James,&nbsp;  
&nbsp;&nbsp;  
&nbsp;I&nbsp;have&nbsp;sended&nbsp;mail&nbsp;of&nbsp;[forumsupport@thinkgeo.com](mailto:forumsupport@thinkgeo.com),&nbsp;Please&nbsp;follows.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Regards&nbsp;  
&nbsp;Sanjay

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [February 10, 2011, 12:02am UTC](https://community.thinkgeo.com/t/different-color-on-pointstyle/1580/19 "2011-02-10T00:02:07Z")

</div>

Sanjay,

Thanks&nbsp;for&nbsp;your&nbsp;sample&nbsp;and&nbsp;data,&nbsp;according&nbsp;to&nbsp;my&nbsp;test,&nbsp;your&nbsp;tab&nbsp;data&nbsp;just&nbsp;has&nbsp;line&nbsp;records,&nbsp;it&nbsp;dose&nbsp;not&nbsp;has&nbsp;point&nbsp;and&nbsp;polygon&nbsp;records,&nbsp;the&nbsp;attachment&nbsp;is&nbsp;my&nbsp;test&nbsp;result&nbsp;for&nbsp;the&nbsp;all&nbsp;features's&nbsp;type.&nbsp;From&nbsp;the&nbsp;attached&nbsp;screen&nbsp;shot&nbsp;you&nbsp;can&nbsp;realize&nbsp;your&nbsp;tab&nbsp;file&nbsp;has&nbsp;233034&nbsp;line&nbsp;records,&nbsp;no&nbsp;point&nbsp;records&nbsp;and&nbsp;polygons&nbsp;records.

Also&nbsp;you&nbsp;can&nbsp;test&nbsp;it&nbsp;by&nbsp;youself&nbsp;used&nbsp;the&nbsp;following&nbsp;code:

&nbsp;

`worldLayer.FeatureSource.Open()        Dim features As Collection(Of Feature) = worldLayer.FeatureSource.GetAllFeatures(ReturningColumnsType.AllColumns)        Dim type As WellKnownType = WellKnownType.Invalid        Dim polygonCount As Integer = 0        Dim lineCount As Integer = 0        Dim pointCount As Integer = 0        For Each tempFeature As Feature In features            type = tempFeature.GetWellKnownType()            If (type = WellKnownType.Line OrElse type = WellKnownType.Multiline) Then                lineCount += 1            ElseIf (type = WellKnownType.Point OrElse type = WellKnownType.Multipoint) Then                pointCount += 1            ElseIf (type = WellKnownType.Polygon OrElse type = WellKnownType.Multipolygon) Then                polygonCount += 1            End If        Next        worldLayer.FeatureSource.Close()        MessageBox.Show("Line records count: " & lineCount.ToString() & Environment.NewLine & "Point records count: " & pointCount.ToString() & Environment.NewLine & "Polygon records count: " & polygonCount.ToString())`In&nbsp;your&nbsp;sample&nbsp;application&nbsp;although&nbsp;you&nbsp;add&nbsp;three&nbsp;custom&nbsp;styles&nbsp;for&nbsp;area,&nbsp;line&nbsp;and&nbsp;point&nbsp;records,&nbsp;but&nbsp;please&nbsp;not,&nbsp;you&nbsp;tab&nbsp;file&nbsp;just&nbsp;has&nbsp;line&nbsp;records&nbsp;so&nbsp;just&nbsp;the&nbsp;CustomLineStyle&nbsp;is&nbsp;valid&nbsp;in&nbsp;your&nbsp;application.&nbsp;If&nbsp;you&nbsp;still&nbsp;have&nbsp;any&nbsp;questions&nbsp;please&nbsp;let&nbsp;me&nbsp;know,

Thanks,

Scott,

[Capture.zip](https://community.thinkgeo.com/uploads/default/original/2X/6/6f740bf684bf38c215e84cbede9fbb1b298108be.zip) (213 KB)

---

<div class="post-metadata">

**Author:** ![Sanjay](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/s/58956e/32.png) [@Sanjay](https://community.thinkgeo.com/u/Sanjay)\
**Post date:** [February 10, 2011, 2:29am UTC](https://community.thinkgeo.com/t/different-color-on-pointstyle/1580/20 "2011-02-10T02:29:31Z")

</div>

Scott,&nbsp;  
&nbsp;Thanks&nbsp;for&nbsp;working&nbsp;on&nbsp;my&nbsp;data.&nbsp;Have&nbsp;you&nbsp;open&nbsp;Vector.Tab&nbsp;file&nbsp;in&nbsp;Map&nbsp;Info?&nbsp;I&nbsp;also&nbsp;given&nbsp;you&nbsp;a&nbsp;comparative&nbsp;picture&nbsp;file,&nbsp;which&nbsp;is&nbsp;taken&nbsp;as&nbsp;screen&nbsp;dump&nbsp;in&nbsp;Map&nbsp;Info&nbsp;and&nbsp;Map&nbsp;Suite.&nbsp;  
&nbsp;Please&nbsp;check&nbsp;.bmp&nbsp;file&nbsp;of&nbsp;Map&nbsp;Info.&nbsp;The&nbsp;Same&nbsp;TAB&nbsp;file&nbsp;has&nbsp;opened&nbsp;in&nbsp;both&nbsp;application.&nbsp;  
&nbsp;Is&nbsp;it&nbsp;possible&nbsp;to&nbsp;open&nbsp;tab&nbsp;file&nbsp;like&nbsp;shown&nbsp;by&nbsp;map&nbsp;info&nbsp;screen&nbsp;dump,&nbsp;because&nbsp;it&nbsp;is&nbsp;very&nbsp;important&nbsp;for&nbsp;me&nbsp;and&nbsp;our&nbsp;organization.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Reagrds&nbsp;  
&nbsp;Sanjay

[Next page](https://community.thinkgeo.com/t/different-color-on-pointstyle/1580.md?page=2)
