February 2011 - Posts

3
Comments

[Silverlight] How to watermark a WriteableBitmap with a text by Benjamin Roux

Hello, In my current project, I needed to watermark a WriteableBitmap with a text. As I couldn’t find anything I decided to create a small extension method to do so. public static class WriteableBitmapEx { /// <summary> /// Creates a watermark on...
Filed under: , ,
1
Comments

[WP7] How to decompile WP7 assemblies by Benjamin Roux

The other day I wanted to check the source code of the ScrollViewer of WP7. I started Reflector (profit while its still free) and I opened the System.Windows.dll assembly located at C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight...
1
Comments

[Silverlight] How to choose the webcam resolution by Benjamin Roux

Hello, Today I’m gonna show you how to choose the webcam resolution when using Silverlight. By default most of them are in 640x480 which can be sometimes insufficient. VideoCaptureDevice source = devices.SelectedItem as VideoCaptureDevice; source.DesiredFormat...
Filed under: , ,
More Posts