<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 23/06/16 08:30, Uwe Fischer wrote:<br>
</div>
<blockquote cite="mid:000001d1cd21$0e3675c0$2aa36140$@t-online.de"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:"Verdana",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-family:"Verdana",sans-serif">Hello
List,<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-family:"Verdana",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-family:"Verdana",sans-serif">what is
the use of variables in print composer? A map frame has
variables assigned like map_extent_height and _width. But
how to make use of those variables? If I try to place a
rectangle around the map frame using the determined extent
variables (plus something), I cannot use the variables.
There is a ‚data defined override‘ section in the Position
and size dialog for rectangles, but when I select ‚variable‘
it tells me that there are no variables, which seems to be
nonsense.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-family:"Verdana",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-family:"Verdana",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-family:"Verdana",sans-serif;mso-fareast-language:DE">Best
regards, Uwe<o:p></o:p></span></p>
<br>
</div>
</blockquote>
Uwe,<br>
<br>
When you select a Data_defined_override in Position and size, pick
edit from the list instead of variable. In the Expression string
builder you will find map_extent_height in the Variables list.<br>
<br>
Regards<br>
Martin<br>
<br/><img src="http://o8u0.mj.am/oo/AEUADssK3AIAAAAAAAAAAGWBseoAAP-HqY4AAAAAAATonABXa7315jEM4NMiSv2z_7t2NiOT1wAEtK4/26d46627/e.gif" height="1" width="1" alt="" border="0" />
</body>
</html>