Exemple #1
0
        private bool WriteCommand(SetFontCommand cmd)
        {
            if (cmd == null)
            {
                return(false);
            }

            Write(cmd.FontName)
            .Write(" ")
            .Write(cmd.FontSize)
            .Write(" Tf");

            return(true);
        }
Exemple #2
0
        private bool WriteCommand(SetFontCommand cmd)
        {
            if (cmd == null)
                return false;

            Write(cmd.FontName)
                .Write(" ")
                .Write(cmd.FontSize)
                .Write(" Tf");

            return true;
        }