Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Framework » PDF - horizontal line in title zone
Re: PDF - horizontal line in title zone [message #5632 is a reply to message #5631] Wed, 15 June 2016 06:20 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2368
Registered: April 2006
Location: Surrey, UK
Senior Member
I have done this in one of my outputs. Here is the code I used:
$structure['title'][] = array('text' => '',
                              'style' => 'rule',
                              'width' => '100%',
                              'y_relative' => 2.5,
                              'newline' => 'y');

This is what I had in my pdf.styles.inc file:
$style['rule']['font'] = array('family' => 'Times',     // Courier, Helvetica, Times
                               'style' => '',           // blank=Regular, B=Bold, I=Italic, U=Underline
                               'size' => 1.75,          // size in points
                               'height' => 0.75,        // line height in units
                               'draw' => 0);            // width of drawn lines

$style['rule']['fillcolour'] = array(113,113,113);   // colour for background
$style['rule']['textcolour'] = array(0,0,0);         // colour for foreground
$style['rule']['drawcolour'] = array(0,0,0);         // colour for line drawing

Easy peasy lemon squeezy (when you know how).


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: MNU_ACCOUNT - Add new account
Next Topic: Radicore Forum 11th Birthday
Goto Forum:
  


Current Time: Sat Nov 23 09:06:34 EST 2024

Total time taken to generate the page: 0.01579 seconds