Ejemplo n.º 1
0
        private static void AbsolutePositionText(PDFDocument document, string text, float left, float top, float width, float height, Font font, int alignment)
        {
            ColumnText absoluteColumn = document.GetNewColumn(left, top, width, height);

            document.AddParagraph(text, absoluteColumn, font, BaseColor.BLACK, alignment);
        }
Ejemplo n.º 2
0
        protected override void CreateKFactorLabel(PDFDocument document, TachographDocument tachographDocument)
        {
            ColumnText kValueColumn = document.GetNewColumn(425, document.Height - 356, 480, 100);

            document.AddParagraph(tachographDocument.KFactor, kValueColumn);
        }
Ejemplo n.º 3
0
        protected void AbsolutePositionText(PDFDocument document, string text, float left, float top, float width, float height, Font font, int alignment)
        {
            ColumnText absoluteColumn = document.GetNewColumn(left, (TotalPageHeight - top), width, height);

            document.AddParagraph(text, absoluteColumn, font, BaseColor.BLACK, alignment);
        }
Ejemplo n.º 4
0
        private static void CreateHeader()
        {
            ColumnText column1 = _pdfDocument.GetNewColumn(50, _pdfDocument.Height - 17, 200, 100);

            _pdfDocument.AddParagraph("Tachograph Report", column1, _pdfDocument.GetLargeFont(true));
        }
Ejemplo n.º 5
0
        protected void AbsolutePositionText(PDFDocument document, string text, float left, float top, float width, float height)
        {
            ColumnText titleHeaderText = document.GetNewColumn(left, (TotalPageHeight - top), width, height);

            document.AddParagraph(text, titleHeaderText, document.GetRegularFont(false));
        }