Exemplo n.º 1
0
        public MetroToGdiConverter(PrintQueue queue)
        {
            if (queue == null)
            {
                throw new ArgumentNullException("queue");
            }

            m_PrintQueue  = queue;
            m_Flattener   = new MetroDevice0();
            m_GDIExporter = queue.GetLegacyDevice();

            m_printTicketCache = new PrintTicketCache(s_PrintTicketCacheMaxCount);
        }