# Line style defined by two columns

**URL:** <https://community.thinkgeo.com/t/line-style-defined-by-two-columns/1948>\
**Category:** WinForms\
**Created:** [April 12, 2012, 3:32pm UTC](https://community.thinkgeo.com/t/line-style-defined-by-two-columns/1948 "2012-04-12T15:32:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hotter](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/h/67e7ee/32.png) [@Hotter](https://community.thinkgeo.com/u/Hotter)\
**Post date:** [April 12, 2012, 3:32pm UTC](https://community.thinkgeo.com/t/line-style-defined-by-two-columns/1948/1 "2012-04-12T15:32:10Z")

</div>

Hi,  
  
&nbsp;I&nbsp;need&nbsp;to&nbsp;set&nbsp;line&nbsp;style&nbsp;by&nbsp;two&nbsp;columns&nbsp;values.&nbsp;First&nbsp;column&nbsp;"LineType"&nbsp;is&nbsp;set&nbsp;0(solid&nbsp;line)&nbsp;or&nbsp;&nbsp;1(dash&nbsp;line),&nbsp;second&nbsp;column&nbsp;"Color"&nbsp;says&nbsp;the&nbsp;id&nbsp;of&nbsp;the&nbsp;color&nbsp;in&nbsp;the&nbsp;color&nbsp;list.&nbsp;How&nbsp;could&nbsp;I&nbsp;set&nbsp;these&nbsp;two&nbsp;columns&nbsp;style?&nbsp;Can&nbsp;I&nbsp;use&nbsp;ClassBreakStyle&nbsp;for&nbsp;this?

&nbsp;

Found&nbsp;the&nbsp;solution&nbsp;here:&nbsp;gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/21/aft/5344/afv/topic/Default.aspx#7225

---

<div class="post-metadata">

**Author:** ![Gary2](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/g/49beb7/32.png) [@Gary2](https://community.thinkgeo.com/u/Gary2)\
**Post date:** [April 18, 2012, 5:12pm UTC](https://community.thinkgeo.com/t/line-style-defined-by-two-columns/1948/2 "2012-04-18T17:12:06Z")

</div>

Hello&nbsp;Hotter,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks&nbsp;for&nbsp;share&nbsp;your&nbsp;experience,&nbsp;please&nbsp;feel&nbsp;free&nbsp;to&nbsp;let&nbsp;us&nbsp;know&nbsp;your&nbsp;questions.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Regards,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Gary
