ByteScout BarCode Generator SDK - C# - Set Barcode Angle - ByteScout

ByteScout BarCode Generator SDK – C# – Set Barcode Angle

  • Home
  • /
  • Articles
  • /
  • ByteScout BarCode Generator SDK – C# – Set Barcode Angle

How to set barcode angle in C# and ByteScout Barcode SDK

How to set barcode angle in C#

Sample source code below will show you how to cope with a difficult task like set barcode angle in C#. Want to set barcode angle in your C# app? ByteScout Barcode SDK is designed for it. ByteScout Barcode SDK is the fully featured library to generate barcodes. Supports QR Code, Code 39, Code 128, UPC, GS1, GS-128, PDF417, Datamatrix and many other barcode types. Includes various options for barcode generation to ensure output quality, add barcodes to new or existing pdf files and images.

The SDK samples like this one below explain how to quickly make your application do set barcode angle in C# with the help of ByteScout Barcode SDK. Just copy and paste the code into your C# application’s code and follow the instruction. Enjoy writing a code with ready-to-use sample codes in C#.

Free trial version of ByteScout Barcode SDK is available for download from our website. Get it to try other source code samples for C#.

Try ByteScout Barcode SDK today:  60 Day Free Trial (on-premise) or  Web API (on-demand version)

Program.cs
      
using System; using System.Collections.Generic; using System.Drawing; using System.Text; using System.Diagnostics; using Bytescout.BarCode; namespace Sample { class Program { static void Main(string[] args) { // Create new barcode Barcode barcode = new Barcode(); // Set symbology barcode.Symbology = SymbologyType.Codabar; // Set value barcode.Value = "123456"; // Set rotation angle barcode.Angle = RotationAngle.Degrees90; // Save barcode to image barcode.SaveImage("result.png"); // Show image in default image viewer Process.Start("result.png"); } } }

Try ByteScout Barcode SDK today:  60 Day Free Trial (on-premise) or  Web API (on-demand version)

VIDEO

ON-PREMISE VERSION INFORMATION

Get 60 Day Free Trial or Visit ByteScout Barcode SDK Home Page

Explore ByteScout Barcode SDK Documentation

Get ByteScout Barcode SDK Free Training

WEB API

Get Your Free API Key

Explore Web API Documentation

Tutorials:

prev
next