| Server IP : 27.254.152.13 / Your IP : 216.73.217.38 Web Server : Apache/2 System : Linux ns1-252017.dragonhispeed.com 5.2.0 #1 SMP Fri Mar 29 22:50:14 MSK 2024 x86_64 User : coloflew ( 1072) PHP Version : 5.6.40 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/coloflew/domains/fulltion.com/public_html/FPDF/doc/ |
Upload File : |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>SetTextColor</title> <link type="text/css" rel="stylesheet" href="../fpdf.css"> </head> <body> <h1>SetTextColor</h1> <code>SetTextColor(<b>int</b> r [, <b>int</b> g, <b>int</b> b])</code> <h2>Description</h2> Defines the color used for text. It can be expressed in RGB components or gray scale. The method can be called before the first page is created and the value is retained from page to page. <h2>Parameters</h2> <dl class="param"> <dt><code>r</code></dt> <dd> If <code>g</code> et <code>b</code> are given, red component; if not, indicates the gray level. Value between 0 and 255. </dd> <dt><code>g</code></dt> <dd> Green component (between 0 and 255). </dd> <dt><code>b</code></dt> <dd> Blue component (between 0 and 255). </dd> </dl> <h2>See also</h2> <a href="setdrawcolor.htm">SetDrawColor()</a>, <a href="setfillcolor.htm">SetFillColor()</a>, <a href="text.htm">Text()</a>, <a href="cell.htm">Cell()</a>, <a href="multicell.htm">MultiCell()</a>. <hr style="margin-top:1.5em"> <div style="text-align:center"><a href="index.htm">Index</a></div> </body> </html>