diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-07-05 16:28:04 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-07-06 15:49:55 +0200 |
commit | c3944e2e1cfb4ac86a8580829376357e1d5bccda (patch) | |
tree | 974a632f212a9af950146a211825c5e8b361cef3 /docs/mutool/run.html | |
parent | 467af4f7b516b97ca082be794c8c462e4dea41ad (diff) | |
download | mupdf-c3944e2e1cfb4ac86a8580829376357e1d5bccda.tar.xz |
Add fitz to pdf downcasting functions for pages and annotations.
Diffstat (limited to 'docs/mutool/run.html')
-rw-r--r-- | docs/mutool/run.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/mutool/run.html b/docs/mutool/run.html index 19433681..c6bc80e5 100644 --- a/docs/mutool/run.html +++ b/docs/mutool/run.html @@ -197,6 +197,8 @@ If alpha is true, the page will be drawn on a transparent background, otherwise <dd>Search for 'needle' text on the page, and return an array with rectangles of all matches found. <dt>Page#getAnnotations() <dd>Return array of all annotations on the page. +<dt>Page#toPDF() +<dd>Returns the PDFObject/PDFPage for the page, if the document is a PDF file. </dl> <dl> @@ -208,6 +210,8 @@ If alpha is true, the page will be drawn on a transparent background, otherwise <dd>Render the annotation into a Pixmap, using the transform and colorspace. <dt>Annotation#toDisplayList() <dd>Record the contents of the annotation into a DisplayList. +<dt>Annotation#toPDF() +<dd>Returns the PDFObject/PDFAnnotation for the annotation, if the document is a PDF file. </dl> <h2> |