1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3<head> 4<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> 5<title>Close</title> 6<link type="text/css" rel="stylesheet" href="../fpdf.css"> 7</head> 8<body> 9<h1>Close</h1> 10<code>Close()</code> 11<h2>Description</h2> 12Terminates the PDF document. It is not necessary to call this method explicitly because Output() 13does it automatically. 14<br> 15If the document contains no page, AddPage() is called to prevent from getting an invalid document. 16<h2>See also</h2> 17<a href="output.htm">Output</a> 18<hr style="margin-top:1.5em"> 19<div style="text-align:center"><a href="index.htm">Index</a></div> 20</body> 21</html> 22