<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : MakupLabel and CreateMarkupPrintView</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : MarkupLabel Control : MakupLabel and CreateMarkupPrintView]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 28 Apr 2026 05:24:37 +0000</pubDate>
  <lastBuildDate>Mon, 15 Apr 2013 13:55:59 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=17676</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[MakupLabel and CreateMarkupPrintView :  Hi !I&amp;#039;m new using CodeJock,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17676&amp;PID=70815&amp;title=makuplabel-and-createmarkupprintview#70815</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8039">Hannes</a><br /><strong>Subject:</strong> 17676<br /><strong>Posted:</strong> 15 April 2013 at 1:55pm<br /><br />Hi !<div>I'm new using CodeJock, so sorry for any "stupid" questions in advanced.</div><div>&nbsp;</div><div>I use CodeJock in BorlandBuilder and try to use PrintPreview to print XAML strings.</div><div>Following example from help, made in VB, I keep trying sth like that (having PrintPreview control on the Form):</div><div>&nbsp;</div><div>...</div><div><em>IPrintView *ipw;</em></div><div><em>ipw = MyPrintPreview-&gt;CreateMarkupPrintView(XAMLString);</em> /* MyPrintPreview is an object of TPrintPreview of course*/</div><div>&nbsp;</div><div><em>MyPrintPreview-&gt;PrintView = ipw;</em> </div><div>/* and the line above generate error : 'TPrintPreview::PrintView' is not accessible */</div><div>&nbsp;</div><div>&nbsp;</div><div>Please, anybody help me, because I've lost my hope after many many days of looking for solution of this problem using help of Uncle Google, this forum and help of CodeCojcke :(:(:(</div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Mon, 15 Apr 2013 13:55:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17676&amp;PID=70815&amp;title=makuplabel-and-createmarkupprintview#70815</guid>
  </item> 
  <item>
   <title><![CDATA[MakupLabel and CreateMarkupPrintView : I&amp;#039;m very impressed and grateful...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17676&amp;PID=61929&amp;title=makuplabel-and-createmarkupprintview#61929</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 17676<br /><strong>Posted:</strong> 20 December 2010 at 8:44am<br /><br />I'm very impressed and grateful Oleg. Thank you very much.&nbsp;<img src="http://forum.codejock.com/smileys/smiley32.gif" border="0" alt="Clap" title="Clap" />]]>
   </description>
   <pubDate>Mon, 20 Dec 2010 08:44:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17676&amp;PID=61929&amp;title=makuplabel-and-createmarkupprintview#61929</guid>
  </item> 
  <item>
   <title><![CDATA[MakupLabel and CreateMarkupPrintView : Hi,Added additionalPrintElementToDC(OLE_HANDLE...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17676&amp;PID=61924&amp;title=makuplabel-and-createmarkupprintview#61924</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 17676<br /><strong>Posted:</strong> 20 December 2010 at 5:04am<br /><br />Hi,<div><br></div><div>Added additional&nbsp;&nbsp;PrintElementToDC(OLE_HANDLE hDC, MarkupUIElement* Element, int Left, int Top, int Width, int Height) method.</div><div><br></div>]]>
   </description>
   <pubDate>Mon, 20 Dec 2010 05:04:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17676&amp;PID=61924&amp;title=makuplabel-and-createmarkupprintview#61924</guid>
  </item> 
  <item>
   <title><![CDATA[MakupLabel and CreateMarkupPrintView : I&amp;#039;m not sure how what the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17676&amp;PID=61868&amp;title=makuplabel-and-createmarkupprintview#61868</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 17676<br /><strong>Posted:</strong> 16 December 2010 at 9:22am<br /><br />I'm not sure how what the PrintToDc parameters are, so I'm just thinking out loud here:<br><br>I have a "dashboard" view that has summary information, charts, etc... in various ScrollViewers and I would like to be able to print this on separate pages. It would be perfect if we could pass a MarkupUiElement to the PrintToDc method, and it would just print that element and it's children.<br><br>This would allow me to have a Grid in a ScrollViewer that would be scrollable while on screen, but I could pass the Grid object to the PrintToDc method to print the Grid without the ScrollViewer scrollbars appearing on the output - is this how it works, and if not can it be implemented to work this way?<br><br>Thanks for any feedback.<br>]]>
   </description>
   <pubDate>Thu, 16 Dec 2010 09:22:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17676&amp;PID=61868&amp;title=makuplabel-and-createmarkupprintview#61868</guid>
  </item> 
  <item>
   <title><![CDATA[MakupLabel and CreateMarkupPrintView : Awesome Oleg - can&amp;#039;t wait...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17676&amp;PID=61867&amp;title=makuplabel-and-createmarkupprintview#61867</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 17676<br /><strong>Posted:</strong> 16 December 2010 at 9:18am<br /><br />Awesome Oleg - can't wait for V15, thanks for all of your hard work.<br><br>]]>
   </description>
   <pubDate>Thu, 16 Dec 2010 09:18:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17676&amp;PID=61867&amp;title=makuplabel-and-createmarkupprintview#61867</guid>
  </item> 
  <item>
   <title><![CDATA[MakupLabel and CreateMarkupPrintView : Hi,Both added.   ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17676&amp;PID=61862&amp;title=makuplabel-and-createmarkupprintview#61862</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 17676<br /><strong>Posted:</strong> 16 December 2010 at 3:47am<br /><br /><div style=": rgb255, 255, 255; margin-left: 1px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; font-family: Verdana, Arial, Helvetica, sans-serif; color: rgb0, 0, 0; font-weight: normal; font-size: 12px; line-height: 1.4; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; -: n&#111;ne; ">Hi,<div><br></div><div>Both added.</div></div>]]>
   </description>
   <pubDate>Thu, 16 Dec 2010 03:47:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17676&amp;PID=61862&amp;title=makuplabel-and-createmarkupprintview#61862</guid>
  </item> 
  <item>
   <title><![CDATA[MakupLabel and CreateMarkupPrintView : You guys are on a roll, thanks...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17676&amp;PID=61843&amp;title=makuplabel-and-createmarkupprintview#61843</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 17676<br /><strong>Posted:</strong> 15 December 2010 at 9:07am<br /><br />You guys are on a roll, thanks a lot! Is there also a PrintToDc method, or just an IPrintView interface?<br><br><br>]]>
   </description>
   <pubDate>Wed, 15 Dec 2010 09:07:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17676&amp;PID=61843&amp;title=makuplabel-and-createmarkupprintview#61843</guid>
  </item> 
  <item>
   <title><![CDATA[MakupLabel and CreateMarkupPrintView : Hello,Thanks, very good suggestion....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17676&amp;PID=61834&amp;title=makuplabel-and-createmarkupprintview#61834</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 17676<br /><strong>Posted:</strong> 15 December 2010 at 2:55am<br /><br />Hello,<div><br></div><div>Thanks, very good suggestion. Implemented for next release.</div>]]>
   </description>
   <pubDate>Wed, 15 Dec 2010 02:55:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17676&amp;PID=61834&amp;title=makuplabel-and-createmarkupprintview#61834</guid>
  </item> 
  <item>
   <title><![CDATA[MakupLabel and CreateMarkupPrintView : I think you need an IPrintView...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17676&amp;PID=61818&amp;title=makuplabel-and-createmarkupprintview#61818</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 17676<br /><strong>Posted:</strong> 14 December 2010 at 8:06pm<br /><br />I think you need an IPrintView interface exposed for the MarkupLabel, and I couldn't find one :(<br><br>This would be a great request, unless there is a way to do it that I don't know...<br>]]>
   </description>
   <pubDate>Tue, 14 Dec 2010 20:06:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17676&amp;PID=61818&amp;title=makuplabel-and-createmarkupprintview#61818</guid>
  </item> 
  <item>
   <title><![CDATA[MakupLabel and CreateMarkupPrintView : I am trying to use printpreview.createMarkupPrintView...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17676&amp;PID=61812&amp;title=makuplabel-and-createmarkupprintview#61812</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5713">j.godas</a><br /><strong>Subject:</strong> 17676<br /><strong>Posted:</strong> 14 December 2010 at 4:10pm<br /><br />I am trying to use printpreview.createMarkupPrintView from a markupLabel&nbsp; generate using makupUIElment.<br>The problem is that createMarkupPrintView only works if markuplabel.caption is full of XAML code. But if you build your XAML content using&nbsp;makupUIElment and his CJ objects, I can find the way to see the XAML code generated.<br><br>Somebody knows how solve the problem?<br><br>There is other way, try to export markup content to a context device. I saw some sample, but is not implemented for ACTIVE X Code., isn't it?<br><br>A simple sample:<br>------------------------------------------------------<br>Dim TextBlock1 As MarkupTextBlock<br>Dim Border As MarkupBorder<br>Dim Context As MarkupContext<br><br>Set Context = MarkupLabel1.MarkupContext<br>Set TextBlock1 = Context.CreateObject("TextBlock")<br>TextBlock1.Text = "Test1"<br>TextBlock1.TextAlignment = xtpMarkupTextAlignmentCenter<br>Set TextBlock1.Background = Context.CreateSolidBrush(vbRed)<br>Set Border = Context.CreateObject("Border")<br>Set Border.Child = TextBlock1<br>Set MarkupLabel1.MarkupUIElement = Border<br><br>'now the markup has contents, but markuplabel1.caption is empty!!<br><br>PrintPreview.PrintView = PrintPreview.CreateMarkupPrintView(MarkupLabel1.Caption)<br><br><br>]]>
   </description>
   <pubDate>Tue, 14 Dec 2010 16:10:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17676&amp;PID=61812&amp;title=makuplabel-and-createmarkupprintview#61812</guid>
  </item> 
 </channel>
</rss>