<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Taking WPF &#8220;Screenshots&#8221;</title>
	<atom:link href="http://www.grumpydev.com/2009/01/03/taking-wpf-screenshots/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.grumpydev.com/2009/01/03/taking-wpf-screenshots/</link>
	<description>The Technical Jibber Jabber of Steven Robbins</description>
	<lastBuildDate>Fri, 30 Jul 2010 05:59:46 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: WPF UIElement extension methods for &#8217;screenshot&#8217; and location</title>
		<link>http://www.grumpydev.com/2009/01/03/taking-wpf-screenshots/comment-page-1/#comment-252</link>
		<dc:creator>WPF UIElement extension methods for &#8217;screenshot&#8217; and location</dc:creator>
		<pubDate>Tue, 20 Apr 2010 12:37:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.grumpydev.com/?p=31#comment-252</guid>
		<description>[...] a bunch of WPF pages. In WPF this is an easy task. Especially when somenone already has created an extension method for it:. The extension method is in C#, so i have converted it to VB.NET and added another extension method [...]</description>
		<content:encoded><![CDATA[<p>[...] a bunch of WPF pages. In WPF this is an easy task. Especially when somenone already has created an extension method for it:. The extension method is in C#, so i have converted it to VB.NET and added another extension method [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kenneth</title>
		<link>http://www.grumpydev.com/2009/01/03/taking-wpf-screenshots/comment-page-1/#comment-249</link>
		<dc:creator>Kenneth</dc:creator>
		<pubDate>Mon, 05 Apr 2010 20:28:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.grumpydev.com/?p=31#comment-249</guid>
		<description>Excellent post! Solves what I needed to do (which is to screen capture the WPF window).
Thank you!</description>
		<content:encoded><![CDATA[<p>Excellent post! Solves what I needed to do (which is to screen capture the WPF window).<br />
Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron</title>
		<link>http://www.grumpydev.com/2009/01/03/taking-wpf-screenshots/comment-page-1/#comment-174</link>
		<dc:creator>Aaron</dc:creator>
		<pubDate>Wed, 03 Feb 2010 19:18:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.grumpydev.com/?p=31#comment-174</guid>
		<description>I used a style for the TabControl and set the TabPanel&#039;s FlowDirection to RightToLeft to get the tabs on the right. Then I left the FlowDirection of the TabControl itself as LeftToRight. Here&#039;s the TabPanel tag that I have within the ControlTemplate:
</description>
		<content:encoded><![CDATA[<p>I used a style for the TabControl and set the TabPanel&#8217;s FlowDirection to RightToLeft to get the tabs on the right. Then I left the FlowDirection of the TabControl itself as LeftToRight. Here&#8217;s the TabPanel tag that I have within the ControlTemplate:</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron</title>
		<link>http://www.grumpydev.com/2009/01/03/taking-wpf-screenshots/comment-page-1/#comment-173</link>
		<dc:creator>Aaron</dc:creator>
		<pubDate>Wed, 03 Feb 2010 13:59:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.grumpydev.com/?p=31#comment-173</guid>
		<description>I gave that a try this morning, but didn&#039;t have any luck with it. When I figure out a solution, I&#039;ll be sure to post it. Thanks for your suggestion!</description>
		<content:encoded><![CDATA[<p>I gave that a try this morning, but didn&#8217;t have any luck with it. When I figure out a solution, I&#8217;ll be sure to post it. Thanks for your suggestion!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: srobbins</title>
		<link>http://www.grumpydev.com/2009/01/03/taking-wpf-screenshots/comment-page-1/#comment-171</link>
		<dc:creator>srobbins</dc:creator>
		<pubDate>Tue, 02 Feb 2010 20:20:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.grumpydev.com/?p=31#comment-171</guid>
		<description>I haven&#039;t tested it, but you could possibly create a grid (or another container), set the flow direction, add your user control to it and screenshot the grid. Then re-parent the user control back where it came from.</description>
		<content:encoded><![CDATA[<p>I haven&#8217;t tested it, but you could possibly create a grid (or another container), set the flow direction, add your user control to it and screenshot the grid. Then re-parent the user control back where it came from.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron</title>
		<link>http://www.grumpydev.com/2009/01/03/taking-wpf-screenshots/comment-page-1/#comment-170</link>
		<dc:creator>Aaron</dc:creator>
		<pubDate>Tue, 02 Feb 2010 19:21:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.grumpydev.com/?p=31#comment-170</guid>
		<description>Thank you very much for the code sample - it&#039;s excellent! One question - I&#039;m loading a usercontrol into a tabcontrol with a FlowDirection of RightToLeft and when the code grabs the screenshot of the usercontrol, it&#039;s always backwards as a result of the tabcontrol&#039;s flow layout. Any ideas how to get around that?</description>
		<content:encoded><![CDATA[<p>Thank you very much for the code sample &#8211; it&#8217;s excellent! One question &#8211; I&#8217;m loading a usercontrol into a tabcontrol with a FlowDirection of RightToLeft and when the code grabs the screenshot of the usercontrol, it&#8217;s always backwards as a result of the tabcontrol&#8217;s flow layout. Any ideas how to get around that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: srobbins</title>
		<link>http://www.grumpydev.com/2009/01/03/taking-wpf-screenshots/comment-page-1/#comment-155</link>
		<dc:creator>srobbins</dc:creator>
		<pubDate>Sun, 27 Dec 2009 08:44:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.grumpydev.com/?p=31#comment-155</guid>
		<description>Haven&#039;t got a clue I&#039;m afraid. If you put the sample code somewhere I can try it here to see if it&#039;s a &quot;your machine&quot; issue if that&#039;s any help.</description>
		<content:encoded><![CDATA[<p>Haven&#8217;t got a clue I&#8217;m afraid. If you put the sample code somewhere I can try it here to see if it&#8217;s a &#8220;your machine&#8221; issue if that&#8217;s any help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kess</title>
		<link>http://www.grumpydev.com/2009/01/03/taking-wpf-screenshots/comment-page-1/#comment-151</link>
		<dc:creator>Kess</dc:creator>
		<pubDate>Wed, 23 Dec 2009 15:35:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.grumpydev.com/?p=31#comment-151</guid>
		<description>I am getting the COMException as well. Does any one know of a solution? Thanks.</description>
		<content:encoded><![CDATA[<p>I am getting the COMException as well. Does any one know of a solution? Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AAron</title>
		<link>http://www.grumpydev.com/2009/01/03/taking-wpf-screenshots/comment-page-1/#comment-144</link>
		<dc:creator>AAron</dc:creator>
		<pubDate>Tue, 24 Nov 2009 19:45:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.grumpydev.com/?p=31#comment-144</guid>
		<description>Very nice, thank you for posting. Saved lots of time here too.</description>
		<content:encoded><![CDATA[<p>Very nice, thank you for posting. Saved lots of time here too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Moritz</title>
		<link>http://www.grumpydev.com/2009/01/03/taking-wpf-screenshots/comment-page-1/#comment-139</link>
		<dc:creator>Moritz</dc:creator>
		<pubDate>Thu, 08 Oct 2009 10:56:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.grumpydev.com/?p=31#comment-139</guid>
		<description>Thanks a lot for this great piece of code! Saved me a lot of research. ;)

Best regards from Germany</description>
		<content:encoded><![CDATA[<p>Thanks a lot for this great piece of code! Saved me a lot of research. <img src='http://www.grumpydev.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Best regards from Germany</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: srobbins</title>
		<link>http://www.grumpydev.com/2009/01/03/taking-wpf-screenshots/comment-page-1/#comment-81</link>
		<dc:creator>srobbins</dc:creator>
		<pubDate>Mon, 20 Apr 2009 07:17:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.grumpydev.com/?p=31#comment-81</guid>
		<description>@cristi Good question, I have no idea :-) If the Window itself is invisible, and isn&#039;t rendering, then you could always render whatever &quot;root&quot; content you have in there (grid, stackpanel, canvas etc.)</description>
		<content:encoded><![CDATA[<p>@cristi Good question, I have no idea <img src='http://www.grumpydev.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  If the Window itself is invisible, and isn&#8217;t rendering, then you could always render whatever &#8220;root&#8221; content you have in there (grid, stackpanel, canvas etc.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cristi</title>
		<link>http://www.grumpydev.com/2009/01/03/taking-wpf-screenshots/comment-page-1/#comment-77</link>
		<dc:creator>cristi</dc:creator>
		<pubDate>Fri, 17 Apr 2009 13:13:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.grumpydev.com/?p=31#comment-77</guid>
		<description>Excelent post!

But how it works if the UIElement is not visible? Taking screenshot from a hidden windows</description>
		<content:encoded><![CDATA[<p>Excelent post!</p>
<p>But how it works if the UIElement is not visible? Taking screenshot from a hidden windows</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prerak Sanghvi</title>
		<link>http://www.grumpydev.com/2009/01/03/taking-wpf-screenshots/comment-page-1/#comment-69</link>
		<dc:creator>Prerak Sanghvi</dc:creator>
		<pubDate>Fri, 20 Mar 2009 15:22:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.grumpydev.com/?p=31#comment-69</guid>
		<description>This repeatably causes low level exceptions on my machine (as you read the stack trace, know that I&#039;ve ensured my code runs on UI thread).  I&#039;m using .NET 3.0 (I know I could update, but I have other constraints).

Unhandled Exception on Dispatcher (System.Windows.Threading.Dispatcher).  Handled=False, Exception=System.Runtime.InteropServices.COMException (0x8000FFFF): Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
   at MS.Internal.HRESULT.Check(Int32 hr)
   at System.Windows.Media.Composition.DUCE.Channel.SendCommand(Byte* pCommandData, Int32 cSize)
   at System.Windows.Media.Composition.DUCE.CompositionNode.SetAlpha(ResourceHandle hCompositionNode, Double alpha, Channel channel)
   at System.Windows.Media.Visual.DisconnectBitmapEffectPropertiesOnAllChannels()
   at System.Windows.Media.Visual.set_VisualBitmapEffect(BitmapEffect value)
   at System.Windows.UIElement.OnBitmapEffectChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry&amp; newEntry, Boolean coerceWithDeferredReference, OperationType operationType)
   at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp)
   at System.Windows.StyleHelper.InvalidateDependents(Style ownerStyle, FrameworkTemplate frameworkTemplate, DependencyObject container, DependencyProperty dp, FrugalStructList`1&amp; dependents, Boolean invalidateOnlyContainer)
   at System.Windows.StyleHelper.OnTriggerSourcePropertyInvalidated(Style ownerStyle, FrameworkTemplate frameworkTemplate, DependencyObject container, DependencyProperty dp, DependencyPropertyChangedEventArgs changedArgs, Boolean invalidateOnlyContainer, FrugalStructList`1&amp; triggerSourceRecordFromChildIndex, FrugalMap&amp; propertyTriggersWithActions, Int32 sourceChildIndex)
   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry&amp; newEntry, Boolean coerceWithDeferredReference, OperationType operationType)
   at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, OperationType operationType, Boolean isInternal)
   at System.Windows.DependencyObject.SetValue(DependencyPropertyKey key, Object value)
   at System.Windows.DependencyObject.SetValue(DependencyPropertyKey dp, Boolean value)
   at System.Windows.ReverseInheritProperty.FirePropertyChangeInAncestry(DependencyObject element, Boolean oldValue, DeferredElementTreeState treeState)
   at System.Windows.ReverseInheritProperty.FirePropertyChangeInAncestry(DependencyObject element, Boolean oldValue, DeferredElementTreeState treeState)
   at System.Windows.ReverseInheritProperty.FirePropertyChangeInAncestry(DependencyObject element, Boolean oldValue, DeferredElementTreeState treeState)
   at System.Windows.ReverseInheritProperty.FirePropertyChangeInAncestry(DependencyObject element, Boolean oldValue, DeferredElementTreeState treeState)
   at System.Windows.ReverseInheritProperty.OnOriginValueChanged(DependencyObject oldOrigin, DependencyObject newOrigin, DeferredElementTreeState&amp; oldTreeState)
   at System.Windows.Input.MouseDevice.ChangeMouseOver(IInputElement mouseOver, Int32 timestamp)
   at System.Windows.Input.MouseDevice.PreNotifyInput(Object sender, NotifyInputEventArgs e)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&amp; handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&amp; handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&amp; handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)</description>
		<content:encoded><![CDATA[<p>This repeatably causes low level exceptions on my machine (as you read the stack trace, know that I&#8217;ve ensured my code runs on UI thread).  I&#8217;m using .NET 3.0 (I know I could update, but I have other constraints).</p>
<p>Unhandled Exception on Dispatcher (System.Windows.Threading.Dispatcher).  Handled=False, Exception=System.Runtime.InteropServices.COMException (0x8000FFFF): Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))<br />
   at MS.Internal.HRESULT.Check(Int32 hr)<br />
   at System.Windows.Media.Composition.DUCE.Channel.SendCommand(Byte* pCommandData, Int32 cSize)<br />
   at System.Windows.Media.Composition.DUCE.CompositionNode.SetAlpha(ResourceHandle hCompositionNode, Double alpha, Channel channel)<br />
   at System.Windows.Media.Visual.DisconnectBitmapEffectPropertiesOnAllChannels()<br />
   at System.Windows.Media.Visual.set_VisualBitmapEffect(BitmapEffect value)<br />
   at System.Windows.UIElement.OnBitmapEffectChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)<br />
   at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)<br />
   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)<br />
   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)<br />
   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry&#038; newEntry, Boolean coerceWithDeferredReference, OperationType operationType)<br />
   at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp)<br />
   at System.Windows.StyleHelper.InvalidateDependents(Style ownerStyle, FrameworkTemplate frameworkTemplate, DependencyObject container, DependencyProperty dp, FrugalStructList`1&#038; dependents, Boolean invalidateOnlyContainer)<br />
   at System.Windows.StyleHelper.OnTriggerSourcePropertyInvalidated(Style ownerStyle, FrameworkTemplate frameworkTemplate, DependencyObject container, DependencyProperty dp, DependencyPropertyChangedEventArgs changedArgs, Boolean invalidateOnlyContainer, FrugalStructList`1&#038; triggerSourceRecordFromChildIndex, FrugalMap&#038; propertyTriggersWithActions, Int32 sourceChildIndex)<br />
   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)<br />
   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)<br />
   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry&#038; newEntry, Boolean coerceWithDeferredReference, OperationType operationType)<br />
   at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, OperationType operationType, Boolean isInternal)<br />
   at System.Windows.DependencyObject.SetValue(DependencyPropertyKey key, Object value)<br />
   at System.Windows.DependencyObject.SetValue(DependencyPropertyKey dp, Boolean value)<br />
   at System.Windows.ReverseInheritProperty.FirePropertyChangeInAncestry(DependencyObject element, Boolean oldValue, DeferredElementTreeState treeState)<br />
   at System.Windows.ReverseInheritProperty.FirePropertyChangeInAncestry(DependencyObject element, Boolean oldValue, DeferredElementTreeState treeState)<br />
   at System.Windows.ReverseInheritProperty.FirePropertyChangeInAncestry(DependencyObject element, Boolean oldValue, DeferredElementTreeState treeState)<br />
   at System.Windows.ReverseInheritProperty.FirePropertyChangeInAncestry(DependencyObject element, Boolean oldValue, DeferredElementTreeState treeState)<br />
   at System.Windows.ReverseInheritProperty.OnOriginValueChanged(DependencyObject oldOrigin, DependencyObject newOrigin, DeferredElementTreeState&#038; oldTreeState)<br />
   at System.Windows.Input.MouseDevice.ChangeMouseOver(IInputElement mouseOver, Int32 timestamp)<br />
   at System.Windows.Input.MouseDevice.PreNotifyInput(Object sender, NotifyInputEventArgs e)<br />
   at System.Windows.Input.InputManager.ProcessStagingArea()<br />
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)<br />
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)<br />
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)<br />
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&#038; handled)<br />
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&#038; handled)<br />
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&#038; handled)<br />
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)<br />
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)<br />
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: srobbins</title>
		<link>http://www.grumpydev.com/2009/01/03/taking-wpf-screenshots/comment-page-1/#comment-14</link>
		<dc:creator>srobbins</dc:creator>
		<pubDate>Fri, 16 Jan 2009 19:10:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.grumpydev.com/?p=31#comment-14</guid>
		<description>The only other suggestion I can think of is to render to a WritableBitmap (WriteableBitmap rb = new WriteableBitmap(renderTarget);) then try grabbing the pixels from that. You will need to find another library to encode the data though, unless you want to move it around in a raw format.</description>
		<content:encoded><![CDATA[<p>The only other suggestion I can think of is to render to a WritableBitmap (WriteableBitmap rb = new WriteableBitmap(renderTarget);) then try grabbing the pixels from that. You will need to find another library to encode the data though, unless you want to move it around in a raw format.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: abi</title>
		<link>http://www.grumpydev.com/2009/01/03/taking-wpf-screenshots/comment-page-1/#comment-11</link>
		<dc:creator>abi</dc:creator>
		<pubDate>Fri, 16 Jan 2009 06:50:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.grumpydev.com/?p=31#comment-11</guid>
		<description>Thanks srobbins for the reply , Encoders wont work in partial trust, do you have any suggetions to take the bytes of RenderTargetBitmap, im really stuck here.

Thanks</description>
		<content:encoded><![CDATA[<p>Thanks srobbins for the reply , Encoders wont work in partial trust, do you have any suggetions to take the bytes of RenderTargetBitmap, im really stuck here.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: srobbins</title>
		<link>http://www.grumpydev.com/2009/01/03/taking-wpf-screenshots/comment-page-1/#comment-10</link>
		<dc:creator>srobbins</dc:creator>
		<pubDate>Thu, 15 Jan 2009 20:03:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.grumpydev.com/?p=31#comment-10</guid>
		<description>@abi I&#039;ve just had a look through, and it won&#039;t work in partial trust because of the JpegBitmapEncoder - it&#039;s not supported in that situatation. I guess it&#039;s to stop you creating a bitmap on the fly and bypassing the security for where you can and can&#039;t grab images from.</description>
		<content:encoded><![CDATA[<p>@abi I&#8217;ve just had a look through, and it won&#8217;t work in partial trust because of the JpegBitmapEncoder &#8211; it&#8217;s not supported in that situatation. I guess it&#8217;s to stop you creating a bitmap on the fly and bypassing the security for where you can and can&#8217;t grab images from.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: abi</title>
		<link>http://www.grumpydev.com/2009/01/03/taking-wpf-screenshots/comment-page-1/#comment-7</link>
		<dc:creator>abi</dc:creator>
		<pubDate>Thu, 15 Jan 2009 08:10:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.grumpydev.com/?p=31#comment-7</guid>
		<description>Very good post, i too had the same problem, however when i published my xbap application under partial trust, it throw a Security Exception,  Is DrawingVisual and DrawingContext will work only on full trust, 

Thank Your</description>
		<content:encoded><![CDATA[<p>Very good post, i too had the same problem, however when i published my xbap application under partial trust, it throw a Security Exception,  Is DrawingVisual and DrawingContext will work only on full trust, </p>
<p>Thank Your</p>
]]></content:encoded>
	</item>
</channel>
</rss>
