Post Reply 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
rectangle issues
01-29-2015, 01:01 AM
Post: #3
RE: rectangle issues
Look up the Rect() function, also the SetLineWidth() function in the official TCPDF documentation ( The "style" parameter is important - you probably have to set it to "D" or "DF". n.b. if you have not come across it before, the documentation is a little arcane, but the "examples" tab is brilliant - each section has a PDF link, which shows all the resulting graphics, and a corresponding PHP link, which shows the code behind each graphic. Page 12 (graphic methods) shows a whole bunch of rectangles and other shapes.

Note also that the TCPDF class has been sub-classed in WebERP. With respect to the people who did this, for perfectly good reasons, like backwards-compatibility, if you are making any significant changes to reports, you will probably find the original TCPDF methods an awful lot more straightforward.
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
rectangle issues - dean4u44 - 01-17-2015, 03:33 AM
RE: rectangle issues - TurboPT - 01-18-2015, 07:36 AM
RE: rectangle issues - tomglare - 01-29-2015 01:01 AM

Forum Jump:

User(s) browsing this thread: 1 Guest(s)