Tag Archives: clipboard

Book Errata Page: The C# Helper Top 100

This is the errata page for my book The C# Helper Top 100, The 100 most popular posts at csharphelper.com. If you find mistakes, please post them here in the Leave a Reply box at the bottom of the page. … Continue reading

Posted in .NET, algorithms, books, C#, C# programming | Tagged , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , | 2 Comments

Book Discussion Page: The C# Helper Top 100

This is a discussion page for my book The C# Helper Top 100, The 100 most popular posts at csharphelper.com. Please post questions, thoughts, and suggestions here in the “Leave a Reply” box at the bottom of the page. I … Continue reading

Posted in .NET, algorithms, books, C#, C# programming | Tagged , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , | 2 Comments

Table of Contents: The C# Helper Top 100

This is a brief summary of the book’s table of contents. Introduction Part I. Serialization 1. Read a CSV File into an Array (1) 2. Use JSON to Serialize and Deserialize Objects (49) Part II. Graphing 3. Draw a Graph … Continue reading

Posted in .NET, algorithms, books, C#, C# programming | Tagged , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , | 2 Comments

New Book: The C# Helper Top 100

I’m happy to announce my latest book, The C# Helper Top 100, The 100 most popular posts at csharphelper.com. It describes the 100 most popular posts on the C# Helper web site. This is my 32nd book and my second … Continue reading

Posted in .NET, algorithms, books, C#, C# programming | Tagged , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , | Leave a comment

Select parts of a scaled image in a PictureBox with different SizeMode values in C#

This example shows how you can select parts of a scaled image that has been stretched by a PictureBox. The example Copy, cut, and paste parts of an image to the clipboard in C# works okay if the PictureBox has … Continue reading

Posted in clipboard, graphics, image processing | Tagged , , , , , , , , , , , , , , , , , , | 4 Comments

See what kinds of data are available in the clipboard and display them in C#

This example shows how you can see what kinds of data are available in the clipboard. The program’s form contains four controls that can display samples of data. They include a PictureBox, TextBox, RichTextBox, and WebBrowser. Before the WebBrowser can … Continue reading

Posted in clipboard | Tagged , , , , , , , , | 2 Comments

Copy and paste data in multiple formats to the clipboard in C#

This example shows how to copy and paste data in multiple formats to the clipboard. It saves data in Rich Text (RTF), text, and HTML formats. When you paste the data, it separately displays each of those formats that are … Continue reading

Posted in clipboard | Tagged , , , , , , , , , , , | 3 Comments

Copy and paste objects to the clipboard in C#

It’s pretty easy to copy and paste objects to the clipboard in C#. The only real trick is to decorate the class that you want to use with the Serializable attribute. That allows the clipboard to serialize and deserialize instances … Continue reading

Posted in clipboard | Tagged , , , , , , , , | 3 Comments

Copy an irregular area from a picture to the clipboard in C#

Somtimes it’s useful to copy an irregular area from a picture to the clipboard. Before explaining how to do that, let me say right away that MS Paint doesn’t understand transparency. Instead, when you paste an image into MS Paint, … Continue reading

Posted in graphics, image processing | Tagged , , , , , , , , , , , , | 6 Comments

Copy, cut, and paste parts of an image to the clipboard in C#

The first step in copying, cutting, or pasting an image to the clipboard is to use a rubber band box to select the part of the image to manipulate. This example lets you use a rubber band box to select … Continue reading

Posted in clipboard, graphics, image processing | Tagged , , , , , , , , , , , , , , | 7 Comments