Exemple #1
0
        public void PDF()
        {
            PDFcreator pDFcreator = new PDFcreator();

            pDFcreator.CreatePDF6x4(new BarcodeReading()
            {
                Barcode = "AAA", Floor = "2A", Job = "AAA", Tag = "-134"
            }, "#7f0000");
        }
Exemple #2
0
        public void PDF()
        {
            PDFcreator pDFcreator = new PDFcreator();

            pDFcreator.CreatePDF6x4FromAnotherLine(new BarcodeReading()
            {
                Barcode = "AAA", Floor = "13A", Job = "AAA", Tag = "-001", Line = 3, ScanDate = DateTime.Now
            }, "#7f0000");
        }
Exemple #3
0
        private void generatePDF()
        {
            PDFcreator newPdf = new PDFcreator();

            newPdf.createTitle("Votes Statistics");
            newPdf.addCandidateVotes(CandidateVotes, "Distribution of votes for individual candidates");
            newPdf.AddParagraph("Invalid votes", InvalidVotes.ToString());
            newPdf.AddParagraph("Valid votes", ValidVotes.ToString());
            newPdf.newPage();
            newPdf.addVotesStatistic(PartyVotes, "Distribution of votes for particular party");
            newPdf.SavePdf();
        }