Skip to content
| Marketplace
Sign in
Visual Studio>Controls>Aspose.Drawing for .NET
Aspose.Drawing for .NET

Aspose.Drawing for .NET

Aspose Marketplace

|
246 clicks
| (0) | Free Trial
2D drawing engine identical to GDI+ for rendering vector graphics as well as multi-style text for .NET applications without any dependency.
Get Started

2D Drawing Engine for .NET Platforms

Nuget Nuget

banner

Product Page | Docs | API Reference | Examples | Blog | Search | Free Support | Temporary License

Aspose.Drawing for .NET is a cross-platform 2D drawing engine with System.Drawing compatible API.

Our drawing engine supports rendering vector graphics (such as lines, curves, and figures) and text (in a variety of fonts, sizes, and styles) onto raster images represented by an array of pixels in memory. Images can be saved in some of the popularly used graphics file formats (BMP, PNG, JPEG, GIF, TIFF).

Aspose.Drawing is a pure .NET library. We don’t use any external native rendering engine, so Aspose.Drawing can be safely run from any restricted environment such as Windows of ASP.NET service.

Graphic File Processing Features

  • Creating bitmaps from scratch or loading from files.
  • Drawing lines, Bézier curves, splines, and arcs.
  • Drawing shapes such as rectangle, polygon, eclipse, etc.
  • Processing and drawing graphics paths.
  • Rendering text with different fonts and styles.
  • Using different pen widths and styles.
  • Using solid and texture brushes.
  • Alpha blending and anti-aliasing lines and shapes.
  • Working with clip regions.
  • Using affine transformations.

Supported Read & Write Drawing Formats

BMP, PNG, JPEG, GIF, TIFF

Platform Independence

The project is based on managed .NET core and does not have dependencies on native code and libraries, with the rendering algorithms working the same way on all supported platforms.

Aspose.Drawing for .NET supports any 32-bit or 64-bit operating system where .NET Framework or .NET Core is installed including, but not limited to:

  • Microsoft Windows desktop (XP, Vista, 7, 8, 10) and server operating systems (2003, 2008, 2012, 2016, 2019)
  • Windows Azure

It also supports .NET Framework version 2.0 and .NET Core 2.0 or later. You can use Aspose.Drawing for .NET to develop applications in any development environment that targets the .NET platform. However, Microsoft Visual Studio 2012, 2013, 2015, 2017, 2019 are explicitly supported.

Get Started

Are you ready to give Aspose.Drawing for .NET a try? Simply execute Install-Package Aspose.Drawing from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.Drawing for .NET and want to upgrade the version, please execute Update-Package Aspose.Drawing to get the latest version.

Create New Bitmap using C# Code

You can execute the below code snippet to see how Aspose.Drawing API performs in your own environment or check the GitHub Repository for other common usage scenarios.

// For complete examples and data files, please go to
// https://github.com/aspose-drawing/Aspose.Drawing-for-.NET
Bitmap bitmap = new Bitmap(1000, 800, System.Drawing.Imaging.PixelFormat.Format32bppPArgb);
Graphics graphics = Graphics.FromImage(bitmap);

Pen pen = new Pen(Color.FromKnownColor(KnownColor.Blue), 2);
graphics.DrawArc(pen, 0, 0, 700, 700, 0, 180);

bitmap.Save(RunExamples.GetDataDir() + @"LinesCurvesShapes\DrawArc_out.png");

Product Page | Docs | API Reference | Examples | Blog | Search | Free Support | Temporary License

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft