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); }
protected override void CreateKFactorLabel(PDFDocument document, TachographDocument tachographDocument) { ColumnText kValueColumn = document.GetNewColumn(425, document.Height - 356, 480, 100); document.AddParagraph(tachographDocument.KFactor, kValueColumn); }
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); }
private static void CreateHeader() { ColumnText column1 = _pdfDocument.GetNewColumn(50, _pdfDocument.Height - 17, 200, 100); _pdfDocument.AddParagraph("Tachograph Report", column1, _pdfDocument.GetLargeFont(true)); }
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)); }