article

Displaying the contents of a PDF file in an ASP.NET application using GhostScript

A quick sample which shows how to convert PDF files into images and display them in an ASP.NET application.

avatar
Richard Moss
article

Arcade explosion generator

Sample C# application project which can generate basic arcade style explosion images for use in your own applications.

avatar
Richard Moss
article

Creating an image viewer in C# Part 5: Selecting part of an image

This article describes adding new functionality to the ImageBox control to allow selecting portions of the current image.

avatar
Richard Moss
article

Converting 2D arrays to 1D and accessing as either 2D or 1D

This article shows how you can store 2D data in a 1D array using row-major order and convert locations between the two.

avatar
Richard Moss
article

AngelCode bitmap font parsing using C#

Article describing a component for parsing bitmap font files generated by AngelCode's BMFont utility

avatar
Richard Moss
article

Detecting if an application is running as an elevated process, and spawning a new process using elevated permissions

Article which describes detecting if your application is running with elevated permissions on Windows Vista or Windows 7 and how to spawn new processes which run using elevated permissions.

avatar
Richard Moss
article

Extending the ImageBox component to display the contents of a PDF file using C#

Article describing how to extend the ImageBox control to support displaying PDF files using the GhostScript API, removing the need for a dedicated PDF reader.

avatar
Richard Moss
article

Convert a PDF into a series of images using C# and GhostScript

Article which describes how to use C# and GhostScript to convert PDF files into raster images for displaying in an application without requiring a dedicated PDF reader.

avatar
Richard Moss
article

Detecting if a given font style exists in C#

Describes how to use the FontFamily object to determine if a given font style exists

avatar
Richard Moss
article

CSS Syntax Highlighting in the DigitalRune Text Editor Control

An article which describes how to create a definition ruleset to allow CSS formatting in the DigitalRune/SharpDevelop Text Editor Controls, and how to load custom definition rulesets into the control.

avatar
Richard Moss
article

Enabling shell styles for the ListView and TreeView controls in C#

Article which describes how to display ListView and TreeView controls using Visual Styles in Windows Vista or higher via the SetWindowTheme API.

avatar
Richard Moss
article

Creating a WYSIWYG font ComboBox using C#

This article shows how to use the built in ownerdraw functionality of a standard Windows Forms ComboBox control to display a WYSIWYG font list.

avatar
Richard Moss