示例#1
0
        BaseColor accentColor = new BaseColor(70, 130, 180); //(65, 125, 215);

        public NotesPdfWriter(Notes.NotesDocument notesDocument)
        {
            this.notesDocument = notesDocument;

            titleFont = new Font(baseBoldFont)
            {
                Size  = 16,
                Color = darkColor
            };

            subtitleFont = new Font(baseBoldFont)
            {
                Size  = 12,
                Color = darkColor
            };

            headerFont = new Font(baseFont)
            {
                Size  = 10,
                Color = lightColor
            };

            sectionTitleFont = new Font(baseBoldFont)
            {
                Size  = 10,
                Color = accentColor
            };

            paragraphtTitleFont = new Font(baseBoldFont)
            {
                Size  = 10,
                Color = darkColor
            };

            paragraphtSubtitleFont = new Font(baseItalicFont)
            {
                Size  = 10,
                Color = lightColor
            };

            paragraphTextFont = new Font(baseFont)
            {
                Size  = 10,
                Color = darkColor
            };


            tableFont = new Font(baseFont)
            {
                Size  = 9,
                Color = darkColor
            };

            tableHeaderFont = new Font(baseBoldFont)
            {
                Size  = 9,
                Color = accentColor
            };
        }
 public NotesDocxWriter(Reports.NotesDocument notesDocument)
 {
     this.notesDocument = notesDocument;
 }