Show / Hide Table of Contents

Namespace Codecrete.SwissQRBill.Windows

Classes

BitmapCanvas

Canvas for generating a GDI+ bitmap.

ClipboardMetafileHelper

Helper class to copy metafiles to the clipboard.

The .NET classes Clipboard and DataObject are unable to properly deal with metafiles.

MetafileCanvas

Canvas for generating Windows Metafiles (EMF).

For this class to generate correct EMF files, the application must be configured to be *dpiAware*, either by adding an application manifest and uncommenting the relevant section or by calling SetProcessDPIAware() at application start.

[System.Runtime.InteropServices.DllImport("user32.dll")]
private static extern bool SetProcessDPIAware();

PNGCanvas

Canvas for generating a PNG file.

The resulting PNG file can be retrieved using ToByteArray().

PNGCanvasFactory

Factory for creating PngCanvas instances

SystemDrawingCanvas

Canvas for drawing to a System.Drawing / GDI+ graphics surface.

This class is also the base class for generating PNG files using System.Drawing, for creating Windows Forms control, for generating GDI+ bitmaps and for generating Windows Metafiles.

In This Article
Back to top Generated by DocFX