English

Graphics Programming in C#

Graphics programming in C# might seem easier or harder than you might think. In this article, you will learn how to create stunning vector graphics programmatically in C#. Whether you’re creating graphics as part of your current project or as the basis of your own game or app! You’ll learn to create beautiful visuals with ease.
September 20, 2022 · 5 min · Muzammil Khan

Create Bitmap in C#

Bitmap is used to create and store computer graphics. You can easily create Bitmap in C# with Aspose.Drawing for .NET API. In this article, you will learn how to create a new bitmap in C#. This article also demonstrates how to load an image in bitmap or draw graphics in a bitmap using C#.
August 16, 2022 · 4 min · Muzammil Khan

Draw a Rectangle in C#

Vector graphics are widely used to draw shapes. You can easily draw shapes in C# applications while working with Aspose.Drawing API. In accordance with such requirements, this article covers how to draw Rectangle in C#.
July 22, 2022 · 2 min · Farhan Raza

Draw an Ellipse in C#

Vector graphics are widely used to draw shapes. You can easily draw shapes in C# applications while working with Aspose.Drawing API. In accordance with such requirements, this article covers how to draw Ellipse in C#.
May 21, 2022 · 2 min · Farhan Raza

Using System.Drawing in Blazor WebAssembly App in C#

Blazor framework is widely used to build interactive and reusable web UI in web technologies. Moreover, Blazor WebAssembly apps execute directly in the browser on a WebAssembly-based .NET runtime. This article covers how to use System.Drawing library in a Blazor WebAssembly app.
May 21, 2022 · 2 min · Farhan Raza

Using System.Drawing with .NET 6 on non-Windows Platform

The System.Drawing.Common is the actual implementation of the System.Drawing library. However, it is now attributed as a Windows-specific library in .NET 6 Framework. Therefore, you can use Aspose.Drawing to create a cross-platform .NET 6 Framework-based application.
March 9, 2022 · 2 min · Farhan Raza

Using Aspose.Drawing in Azure Functions with C#

Azure functions are event-based, serverless cloud services. You can use Aspose.Drawing for .NET API in Azure functions for drawing vector graphics or text as per your requirements. This article explains how quickly and easily you can configure the API to use in Azure Functions.
September 22, 2021 · 2 min · Farhan Raza

Using System.Drawing with ASP.NET Core or ASP.NET Service

There are a lot of questions dedicated to the usage of System.Drawing library in ASP.NET services. The most common answer is that Microsoft does not recommend the usage of System.Drawing in ASP.NET services. In this article, you will learn details about using the interface of System.Drawing library in ASP.NET services with Aspose.Drawing for .NET. The following sections structure all the relevant information:
May 20, 2021 · 4 min · Farhan Raza

Apply Matrix, Global, Local, World Coordinate Transformation in C#

Coordinate systems are important while working with graphics and shapes. The coordinate axis can be rotated for obtaining new axes through the same origin. Let us explore the following coordinate transformations including Matrix, Global, Local, and World transformations programmatically using C# language. Moreover, you will be able to understand the following transformations after going through this article:
March 4, 2021 · 3 min · Farhan Raza

Add, Insert, or Draw Text on PNG, JPEG, TIFF, Icon, GIF Image using C#

We see or create a lot of images for visual information. Sometimes you need to add or draw text on an image in such a manner that nobody else can modify that text. Image watermark is one of the most common examples. Likewise, labeling or reviewing images may also require drawing text.
February 28, 2021 · 3 min · Farhan Raza