pfpdf text rotation lazarus / 31-LCL ---------------------------------------------------------------------- gerardus · 2017-04-03 19:51 Hi all, is there a way to write text at a 90º angle in a PDF document using fppdf (fcl-pdf) in Lazarus? thanks in advance, Gerard. ---------------------------------------------------------------------- paweld · 2017-04-03 20:28 $(LazarusDir)fpc\$(FPCVer)\source\packages\fcl=pdf\examles Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i Procedure WriteText(X, Y: TPDFFloat; AText : UTF8String; const ADegrees: single = 0.0; const AUnderline: boolean = false; const AStrikethrough: boolean = false); overload; //eg. P.WriteText(25, 100, 'Rotated text at 90 degrees', 90); {P: TPDFPage} ---------------------------------------------------------------------- gerardus · 2017-04-05 11:41 Hi paweld, what version of fpc is this? I'm using 3.02 and I can't find that version of the WriteText procedure. Regards, Gerard. ---------------------------------------------------------------------- paweld · 2017-04-05 11:54 fcl-pdf trunk version ---------------------------------------------------------------------- gerardus · 2017-04-05 13:19 Thanks. I pulled the svn version and it does the trick. Btw, it looks like the coordinates system has changed from 3.02. ---------------------------------------------------------------------- Graeme · 2017-04-12 08:56 Quote from: gerardus on April 05, 2017, 03:19:42 pmBtw, it looks like the coordinates system has changed from 3.02. Play with the PDFDocument.Options property by including or excluding the poPageOriginAtTop option to match your needs. ---------------------------------------------------------------------- gerardus · 2017-04-12 15:21 Thanks Graeme.