예제 #1
0
 public Stream GetCoreXml()
 {
     using (IMapMapper mapMapper = MapMapperFactory.CreateMapMapperInstance((Map)m_reportElementDef, GetDefaultFontFamily()))
     {
         mapMapper.DpiX           = m_dpiX;
         mapMapper.DpiY           = m_dpiY;
         mapMapper.WidthOverride  = m_widthOverride;
         mapMapper.HeightOverride = 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)m_reportElementDef, GetDefaultFontFamily()))
     {
         mapMapper.DpiX           = m_dpiX;
         mapMapper.DpiY           = m_dpiY;
         mapMapper.WidthOverride  = m_widthOverride;
         mapMapper.HeightOverride = m_heightOverride;
         mapMapper.RenderMap();
         image           = mapMapper.GetImage(type);
         actionImageMaps = mapMapper.GetImageMaps();
     }
 }