Tag Archives: RenderTargetBitmap

Render text onto a RenderTargetBitmap with WPF and C#

In earlier examples such as Easily render rotated text in a WPF program using C#, I explained how to render text in a WPF program. Those examples draw text on the program’s window at runtime. Sometimes you may want to … Continue reading

Posted in drawing, graphics, image processing, wpf, XAML | Tagged , , , , , , , , , , , , , , , | 3 Comments

Use WPF to make a download button in C#

This example uses WPF to make a download button similar to the one shown on the C# Helper web site’s blog posts. The following XAML code shows how the program builds the button. <Window x:Class=”howto_download_button.Window1″ xmlns=”http://schemas.microsoft.com/winfx/2006/xaml/presentation” xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml” Title=”Window1″ Height=”107″ Width=”140″ … Continue reading

Posted in graphics, user interface, wpf, XAML | Tagged , , , , , , , , , , , , , , , | Leave a comment