<?xml version="1.0"?>
<page id="GimpUi.Preview.get_size"
      type="topic"
      style="method"
      xmlns="http://projectmallard.org/1.0/"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/1.0/ui/">
  <info>
    <link xref="GimpUi.Preview" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>void</api:type>
      </api:returns>
      <api:name>gimp_preview_get_size</api:name>
    </api:function>
  </info>
  <title>GimpUi.Preview.prototype.get_size</title>
  <synopsis><code mime="text/x-gjs">
function get_size(): [width: Number(gint), height: Number(gint)] {
    // Gjs wrapper for gimp_preview_get_size()
}
  </code></synopsis>

  <p>Since 2.2</p>
<terms>
<item>
<title><code>width</code></title>
  <p>return location for the preview area width</p>
</item>
<item>
<title><code>height</code></title>
  <p>return location for the preview area height</p>
</item>
</terms>

</page>
