Example #1
0
        public SlideImageMgr(PresenterWireFormatType format, int width, int height)
        {
            this.format       = format;
            currentSlide      = new SlideReference();
            this.exportWidth  = width;
            this.exportHeight = height;

            //Set the default background colors
            if ((format == PresenterWireFormatType.CPCapability) ||
                (format == PresenterWireFormatType.CPNav))
            {
                currentSlide.SetBGColor(Color.PapayaWhip);
            }
            else
            {
                currentSlide.SetBGColor(Color.White);
            }

            if (format == PresenterWireFormatType.CP3)
            {
                cp3Mgr = new CP3Manager.CP3Manager();
            }

            slideImages   = new Hashtable();
            orgToResource = new Hashtable();
            nullSlide     = null;
        }