Professional Documents
Culture Documents
Change Polygon Layer Symbology
Change Polygon Layer Symbology
RenderLayer2()
pDoc As IMxDocument
pLayer As IGeoFeatureLayer
pRend As ISimpleRenderer
pFillSym As IFillSymbol
pColor As IRgbColor
pColor.Red = 255
pFillSym.Color = pColor
'Apply the new color and refresh
Set pRend.Symbol = pFillSym
pDoc.UpdateContents
pDoc.ActiveView.Refresh
End Sub