Add Graphic to the map

Discussion created by rhyck.m on Jun 30, 2013
Latest reply on Jul 8, 2013 by rhyck.m
I have a function that adds a graphic to the map (from ArcGIS Snipet finder). The function takes 3 parameters
as shown below:

 Public Sub AddGraphicToMap(ByVal map As IMap, ByVal geometry As IGeometry, ByVal rgbColor As IRgbColor, ByVal outlineRgbColor As IRgbColor)

The Graphic I want to add is a circle(polygon) where the center is an attribute value from layerQuery and the radius the value entered by the end user.

How can I achieve this?