public void GetRenderingResource(CreateAndRegisterStream createAndRegisterStreamCallback, NameValueCollection deviceInfo) { try { ROMReport.GetRenderingResource(createAndRegisterStreamCallback, deviceInfo["GetImage"]); } catch (ReportRenderingException) { throw; } catch (Exception ex2) { if (AsynchronousExceptionDetection.IsStoppingException(ex2)) { throw; } throw new ReportRenderingException(ex2, unexpected: true); } }
private void RenderMHTMLInternalImageSrc(string imageName) { if (imageName != null) { string text = null; if (m_mhtmlStreamNames == null) { m_mhtmlStreamNames = new Hashtable(); } else { text = (string)m_mhtmlStreamNames[imageName]; } if (text == null) { text = imageName; ROMReport.GetRenderingResource(m_createAndRegisterStreamCallback, imageName); m_mhtmlStreamNames[imageName] = text; } WriteStream("cid:"); WriteStream(text); } }