summaryrefslogtreecommitdiff
path: root/loleaflet/reference.html
diff options
context:
space:
mode:
authorMihai Varga <mihai.varga@collabora.com>2015-10-15 19:17:18 +0300
committerMihai Varga <mihai.varga@collabora.com>2015-10-15 19:33:37 +0300
commit1588dd5f5d40c209d223fd7911af5c033991249a (patch)
tree0ed10cac47e8cc1bf6b5ba53c34c1f6302979713 /loleaflet/reference.html
parent3ba0bd6aebde2c62f79ac4c3b2a315b004c2f21f (diff)
loleaflet: map.getPageSizes - returns the size of each page
In twips and pixels
Diffstat (limited to 'loleaflet/reference.html')
-rw-r--r--loleaflet/reference.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/loleaflet/reference.html b/loleaflet/reference.html
index 59a56053b..2d792238d 100644
--- a/loleaflet/reference.html
+++ b/loleaflet/reference.html
@@ -1422,6 +1422,12 @@ var map = L.map('map', {
<td>Returns the document type.</td>
</tr>
<tr>
+ <td><code><b>getPageSizes</b>()</code></td>
+ <td><code><nobr>{twips: <a href="#bounds">[Bounds]</a>,<br>
+ pixels: <a href="#bounds">[Bounds]</a>}</nobr></code></td>
+ <td>Returns an object describing the size of each page in twips and pixels.</td>
+ </tr>
+ <tr>
<td><code><b>scroll</b>(
<nobr>&lt;Number&gt;<i>x</i>,</nobr>
<nobr>&lt;Number&gt;<i>y</i>,</nobr>