Пример #1
0
 public Stream GetCoreXml()
 {
     using (IMapMapper mapMapper = MapMapperFactory.CreateMapMapperInstance((Map)base.m_reportElementDef, base.GetDefaultFontFamily()))
     {
         mapMapper.DpiX           = this.m_dpiX;
         mapMapper.DpiY           = this.m_dpiY;
         mapMapper.WidthOverride  = this.m_widthOverride;
         mapMapper.HeightOverride = this.m_heightOverride;
         mapMapper.RenderMap();
         return(mapMapper.GetCoreXml());
     }
 }
Пример #2
0
 private void GetImage(DynamicImageInstance.ImageType type, out ActionInfoWithDynamicImageMapCollection actionImageMaps, out Stream image)
 {
     using (IMapMapper mapMapper = MapMapperFactory.CreateMapMapperInstance((Map)base.m_reportElementDef, base.GetDefaultFontFamily()))
     {
         mapMapper.DpiX           = this.m_dpiX;
         mapMapper.DpiY           = this.m_dpiY;
         mapMapper.WidthOverride  = this.m_widthOverride;
         mapMapper.HeightOverride = this.m_heightOverride;
         mapMapper.RenderMap();
         image           = mapMapper.GetImage(type);
         actionImageMaps = mapMapper.GetImageMaps();
     }
 }