コード例 #1
0
        /// <summary>
        /// Get header font
        /// </summary>
        /// <returns>font</returns>
        public Font GetHeader_Font()
        {
            if (header_Font != null)
            {
                return(header_Font);
            }
            int i = GetHdr_PrintFont_ID();

            if (i != 0)
            {
                header_Font = MPrintFont.Get(i).GetFont();
            }
            if (header_Font == null)
            {
                header_Font = new Font(standard_Font.Name, standard_Font.Size, FontStyle.Bold, GraphicsUnit.World);
            }
            return(header_Font);
        }       //	getHeader_Font
コード例 #2
0
        }       //	getPageHeader_Font

        /// <summary>
        /// Get funtion font
        /// </summary>
        /// <returns>font</returns>
        public Font GetFunct_Font()
        {
            if (funct_Font != null)
            {
                return(funct_Font);
            }
            int i = GetFunct_PrintFont_ID();

            if (i != 0)
            {
                funct_Font = MPrintFont.Get(i).GetFont();
            }
            if (funct_Font == null)
            {
                funct_Font = new Font(standard_Font.Name, standard_Font.Size, FontStyle.Bold | FontStyle.Italic, GraphicsUnit.World);
            }
            return(funct_Font);
        }       //	getFunct_Font
コード例 #3
0
        }       //	get

        static public MPrintTableFormat Get(Ctx ctx, int AD_PrintTableFormat_ID, int AD_PrintFont_ID)
        {
            return(Get(ctx, AD_PrintTableFormat_ID, MPrintFont.Get(AD_PrintFont_ID).GetFont()));
        }       //	get