Esempio n. 1
0
 internal byte[] InternalRender(string format, bool allowInternalRenderers, string deviceInfo, PageCountMode pageCountMode, out string mimeType, out string encoding, out string fileNameExtension, out string[] streams, out Warning[] warnings)
 {
     lock (m_syncObject)
     {
         using (StreamCache streamCache = new StreamCache())
         {
             InternalRender(format, allowInternalRenderers, deviceInfo, pageCountMode, streamCache.StreamCallback, out warnings);
             streams = new string[0];
             return(streamCache.GetMainStream(out encoding, out mimeType, out fileNameExtension));
         }
     }
 }