-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathinfo.htm
More file actions
31 lines (31 loc) · 1.23 KB
/
info.htm
File metadata and controls
31 lines (31 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Attachments</title>
<style type="text/css">
body {font-family:"Times New Roman",serif}
h1 {font:bold 135% Arial,sans-serif; color:#4000A0; margin-bottom:0.9em}
h2 {font:bold 95% Arial,sans-serif; color:#900000; margin-top:1.5em; margin-bottom:1em}
</style>
</head>
<body>
<h1>Attachments</h1>
<h2>Informations</h2>
Author: <a href="mailto:oliver@fpdf.org?subject=Attachments">Olivier</a><br>
License: FPDF
<h2>Description</h2>
This script allows to attach files to the PDF. The method to attach a file is:<br>
<br>
<tt>Attach(<b>string</b> file [, <b>string</b> name [, <b>string</b> desc]])</tt><br>
<br>
<tt><u>file</u></tt>: path to the file to attach.<br>
<tt><u>name</u></tt>: the name under which the file will be attached. The default value is taken from <tt>file</tt>.<br>
<tt><u>desc</u></tt>: an optional description.<br>
<br>
The <code>OpenAttachmentPane()</code> method is also provided to force the PDF viewer to open the attachment
pane when the document is loaded.<br>
<br>
<strong>Note:</strong> this feature is supported by Adobe Reader but not by all alternative readers.
</body>
</html>