コード例 #1
0
 /// <summary>
 /// 初始化打印变量,本例传入空对象即可.
 /// </summary>
 public void m_mthInitPrintTool(object p_objArg)
 {
     #region  关打印初始化
     m_fotTitleFont   = new Font("SimSun", 15.75f, FontStyle.Bold); //宋体三号
     m_fotHeaderFont  = new Font("SimSun", 10.5F);                  //宋体五号
     m_fotSmallFont   = new Font("SimSun", 11);
     m_GridPen        = new Pen(Color.Black, 1);
     m_slbBrush       = new SolidBrush(Color.Black);
     m_objPageSetting = new clsPrintPageSettingForRecord();
     #endregion
 }
コード例 #2
0
        /// <summary>
        /// 初始化打印变量,本例传入空对象即可.
        /// </summary>
        public void m_mthInitPrintTool(object p_objArg)
        {
            #region  关打印初始化

            m_fotHospitalNameFont = new Font("SimSun", 16, FontStyle.Bold);
            m_fotTitleFont        = new Font("SimSun", 16, FontStyle.Bold);
            m_fotHeaderFont       = new Font("SimSun", 18);
            m_fotSmallFont        = new Font("SimSun", 12);
            m_GridPen             = new Pen(Color.Black, 1);
            m_slbBrush            = new SolidBrush(Color.Black);
            m_objPageSetting      = new clsPrintPageSettingForRecord();
            m_objCPaint           = new clsPublicControlPaint();

            #endregion
        }
コード例 #3
0
        /// <summary>
        /// 初始化打印变量,本例传入空对象即可.
        /// </summary>
        public void m_mthInitPrintTool(object p_objArg)
        {
            #region  关打印初始化

            m_fotTitleFont   = new Font("SimSun", 16, FontStyle.Bold);
            m_fotHeaderFont  = new Font("SimSun", 18, FontStyle.Bold);
            m_fotItemHead    = new Font("", 13, FontStyle.Bold);
            m_fotSmallFont   = new Font("SimSun", 12);
            m_GridPen        = new Pen(Color.Black, 2);
            m_slbBrush       = new SolidBrush(Color.Black);
            m_objPageSetting = new clsPrintPageSettingForRecord();


            #endregion  关打印初始化
        }
コード例 #4
0
        /// <summary>
        /// 初始化打印变量,本例传入空对象即可.
        /// </summary>
        public void m_mthInitPrintTool(object p_objArg)
        {
            m_fotTitleFont  = new Font("SimSun", 20, FontStyle.Bold);
            m_fotHeaderFont = new Font("SimSun", 18);
            m_fotSmallFont  = new Font("SimSun", 12);

            m_GridPen  = new Pen(Color.Black, 1);
            m_slbBrush = new SolidBrush(Color.Black);

            m_objPageSetting = new clsPrintPageSettingForRecord();

            m_objPrintContext = new com.digitalwave.controls.clsPrintRichTextContext(Color.Black, m_fotSmallFont);

            intCurrentRecord       = 0;
            intNowPage             = 0;
            blnBeginPrintNewRecord = true;
        }