<cfpdf>
Manipulates existing PDF documents.
The following list describes some of the tasks you can perform with the cfpdf tag:
- Merge several PDF documents into one PDF document.
- Delete pages from a PDF document.
- Merge pages from one or more PDF documents and generate a new PDF document.
- Linearize PDF documents for faster web display.
- Remove interactivity from forms created in Acrobat(c) to generate flat PDF documents.
- Encrypt and add password protection to PDF documents.
- Generate thumbnail images from PDF documents or pages. (not implemented yet)
- Add or remove watermarks from PDF documents or pages.
- Retrieve information associated with a PDF document, such as the software used to generate the file or the author, and set information for a PDF document, such as the title, author and keywords.
- Create PDF portfolios
- Add and remove header/footer from PDF documents
- Optimize PDF documents
- Extract all the words from the pdf
This tag may have a body.
This tag is also supported within <cfscript>
Requires Extension: PDF Extension
<cfpdf
action=addHeader|addFooter|addWatermark|deletePages|extractText|getInfo|merge|open|removePassword|protect|read|removeWatermark|setInfo|thumbnail|write
ascending=boolean
type=string
copyfrom=any
ddxfile=string
destination=string
directory=string
encrypt=string
flatten=boolean
foreground=boolean
format=string
image=any
imageprefix=string
filter=string
info=struct
inputfiles=struct
isbase64=boolean
keepbookmark=boolean
name=string
newownerpassword=string
newuserpassword=string
opacity=number
order=string
outputfiles=struct
overwrite=boolean
pages=string
password=string
permissions=string
position=string
resolution=string
rotation=number
saveoption=string
scale=number
showonprint=boolean
source=any
stoponerror=boolean
transparent=boolean
version=number
text=string
numberformat=NUMERIC|LOWERCASEROMAN|UPPERCASEROMAN
align=left|right|center
leftmargin=numeric
rightmargin=numeric
topmargin=numeric
bottommargin=numeric
><!--- body --->[</cfpdf>]
Unimplemented Attribute(s)
Examples
There are currently no examples for this tag.
See also
- PDFs
- <cfdocument>
- <cfpdfparam>
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)