Public Function RandomColor() As ESRI.ArcGIS.Display.IRgbColor Randomize() Dim pRGB As ESRI.ArcGIS.Display.IRgbColor = New ESRI.ArcGIS.Display.RgbColor pRGB.RGB = CInt(16777214 * Rnd() + 1) Return pRGB End Function
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.