Esempio n. 1
0
        internal ImageMapAreaInstanceCollection(ImageMapAreasCollection imageMaps)
        {
            if (imageMaps == null)
            {
                m_list = new List <ImageMapAreaInstance>();
                return;
            }
            int count = imageMaps.Count;

            m_list = new List <ImageMapAreaInstance>(count);
            for (int i = 0; i < count; i++)
            {
                m_list.Add(new ImageMapAreaInstance(imageMaps[i]));
            }
        }
Esempio n. 2
0
        internal ActionInfoWithDynamicImageMapCollection(RenderingContext renderingContext, ImageMapAreasCollection imageMaps)
        {
            int count = imageMaps.Count;

            m_list = new List <ActionInfoWithDynamicImageMap>(count);
            for (int i = 0; i < count; i++)
            {
                Microsoft.ReportingServices.ReportRendering.ImageMapArea imageMapArea = imageMaps[i];
                if (imageMapArea != null && imageMapArea.ActionInfo != null)
                {
                    ImageMapAreasCollection imageMapAreasCollection = new ImageMapAreasCollection(1);
                    imageMapAreasCollection.Add(imageMapArea);
                    m_list.Add(new ActionInfoWithDynamicImageMap(renderingContext, imageMapArea.ActionInfo, imageMapAreasCollection));
                }
            }
        }
 public ImageMapAreaInstanceCollection(ImageMapAreasCollection imageMaps)
 {
     if (imageMaps == null)
     {
         this.m_list = new List <ImageMapAreaInstance>();
     }
     else
     {
         int count = imageMaps.Count;
         this.m_list = new List <ImageMapAreaInstance>(count);
         for (int i = 0; i < count; i++)
         {
             this.m_list.Add(new ImageMapAreaInstance(imageMaps[i]));
         }
     }
 }
 internal ActionInfoWithDynamicImageMap(RenderingContext renderingContext, Microsoft.ReportingServices.ReportRendering.ActionInfo renderAction, ImageMapAreasCollection renderImageMap)
     : base(renderingContext, renderAction)
 {
     base.IsDynamic  = true;
     m_imageMapAreas = new ImageMapAreaInstanceCollection(renderImageMap);
 }
 public ActionInfoWithDynamicImageMap(RenderingContext renderingContext, AspNetCore.ReportingServices.ReportRendering.ActionInfo renderAction, ImageMapAreasCollection renderImageMap)
     : base(renderingContext, renderAction)
 {
     base.IsDynamic       = true;
     this.m_imageMapAreas = new ImageMapAreaInstanceCollection(renderImageMap);
 }