<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[TextRect mehrzeilig]]></title><description><![CDATA[<p>Hi,</p>
<p>kann mir jemand sagen, wie ich einen Text in TextRect mehrzeilig gestalte?</p>
<p>[/code]<br />
TRect TheRect;<br />
TheRect = Rect(10,10,100,100);<br />
Image1-&gt;Canvas-&gt;TextRect(TheRect, 10, 10, &quot;Hallo\r\nWelt&quot;);<br />
[code]</p>
<p>Funktioniert nicht, es erscheinen nur 2 senkrechte Balken</p>
<p>Vielen Dank</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/79542/textrect-mehrzeilig</link><generator>RSS for Node</generator><lastBuildDate>Tue, 30 Jun 2026 00:58:52 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/79542.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 12 Jul 2004 12:33:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to TextRect mehrzeilig on Mon, 12 Jul 2004 12:33:52 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>kann mir jemand sagen, wie ich einen Text in TextRect mehrzeilig gestalte?</p>
<p>[/code]<br />
TRect TheRect;<br />
TheRect = Rect(10,10,100,100);<br />
Image1-&gt;Canvas-&gt;TextRect(TheRect, 10, 10, &quot;Hallo\r\nWelt&quot;);<br />
[code]</p>
<p>Funktioniert nicht, es erscheinen nur 2 senkrechte Balken</p>
<p>Vielen Dank</p>
]]></description><link>https://www.c-plusplus.net/forum/post/558834</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/558834</guid><dc:creator><![CDATA[DG2003]]></dc:creator><pubDate>Mon, 12 Jul 2004 12:33:52 GMT</pubDate></item><item><title><![CDATA[Reply to TextRect mehrzeilig on Mon, 12 Jul 2004 12:40:27 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">Image1-&gt;Canvas-&gt;TextRect(TheRect, 10, 10, &quot;Hallo&quot;);
Image1-&gt;Canvas-&gt;TextRect(TheRect, 10, Image1-&gt;Canvas-&gt;TextHeight(&quot;Hallo&quot;) + 2, &quot;Welt&quot;);
</code></pre>
<p>Da du den Text selbst zeichnest bist du auch selbst für die Positionierung der einzelnen Elemente verantwortlich.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/558845</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/558845</guid><dc:creator><![CDATA[Jansen]]></dc:creator><pubDate>Mon, 12 Jul 2004 12:40:27 GMT</pubDate></item></channel></rss>