Change Patch size of TOC

668
0
08-23-2011 01:05 AM
ChaesoonLim
New Contributor II
Hi,

I added TOC Control and Map Control on my form application using Engine 9.1 for VB.NET.
And I added a Layer on map. The render of the layer is UniqueValue renderer.
But the appearance of legend item on TOC is different from that of ArcMap.
The height of TOC Control's Patch size is bigger than that of ArcMap's TOC.
I tried to change patch size of TOC, but I couldn't.

I started my code like this.

Dim pUniqueValueRenderer As IUniqueValueRenderer = New UniqueValueRendererClass()

......

Dim legendInfo As ILegendInfo = pUniqueValueRenderer


But I don't know how to code next.
Would you help me?
Any comment is available.

Thank you. .
0 Kudos
0 Replies