Image($file,koordinat x,koordinat y,width,height,tipe, link)
Contoh: $this->Image('logo_pb.png',10,8,33);
SetFont(family,style,size)
Contoh: $this->SetFont('Arial','B',15);
Cell(width,height, text, border,line,align);
Contoh: $this->Cell(30,10,'Title',1,0,'C');
Ln(n pixel)
Contoh: Ln(20)
SetY(posisi koordinat y)
Contoh: $this->SetY(-15);
Catatan: 10 pixel = 1 cm
Menghitung banyak halaman
AliasNbPages()
Menambah halaman
AddPage();
Menampilkan PDF
Output();
Constructor class Graph
Graph($aWidth=300,$aHeight=200,$aCachedName="",$aTimeOut=0,$aInline=true)
Contoh pewarisan:
$graph = new Graph(350,250,"auto");
Catatan: auto -> Automatically generate the image file name based on the name of the script that generates the graph
SetScale($aAxisType,$aYMin=1,$aYMax=1,$aXMin=1,$aXMax=1)