コード例 #1
0
 public Stream GetImage(DynamicImageInstance.ImageType type, out ActionInfoWithDynamicImageMapCollection actionImageMaps)
 {
     try
     {
         Stream result = default(Stream);
         this.GetImage(type, out actionImageMaps, out result);
         return(result);
     }
     catch (Exception exception)
     {
         actionImageMaps = null;
         return(DynamicImageInstance.CreateExceptionImage(exception, this.WidthInPixels, this.HeightInPixels, this.m_dpiX, this.m_dpiY));
     }
 }
コード例 #2
0
 protected MemoryStream CreateExceptionImage(Exception exception)
 {
     return(DynamicImageInstance.CreateExceptionImage(exception, this.WidthInPixels, this.HeightInPixels, this.m_dpiX, this.m_dpiY));
 }