Sample source code below will display you how to manage a complex task like generate qr code barcode with calender entry with barcode sdk in C#. ByteScout Barcode Suite: the bundle that privides 3 SDK products to generate barcodes (Barcode SDK), read barcodes (Barcode Reaer SDK) and read and write spreadsheets (Spreadsheet SDK). It can generate qr code barcode with calender entry with barcode sdk in C#.
The SDK samples given below describe how to quickly make your application do generate qr code barcode with calender entry with barcode sdk in C# with the help of ByteScout Barcode Suite. Just copy and paste the code into your C# application’s code and follow the instructions. Use of ByteScout Barcode Suite in C# is also described in the documentation included along with the product.
If you want to try other source code samples then the free trial version of ByteScout Barcode Suite is available for download from our website. Just try other source code samples for C#.
On-demand (REST Web API) version:
Web API (on-demand version)
On-premise offline SDK for Windows:
60 Day Free Trial (on-premise)
using System;
using System.Diagnostics;
using Bytescout.BarCode;
namespace QRCodeWithCalenderEntry
{
class Program
{
static void Main(string[] args)
{
try
{
// Create new barcode
using (Barcode barcode = new Barcode())
{
// Set symbology
barcode.Symbology = SymbologyType.QRCode;
// Get QRCode value in CalenderEntry format
barcode.Value = GetCalenderEntryFormatText();
// Save barcode to image
barcode.SaveImage("result.png");
}
// Show image in default image viewer
Process.Start("result.png");
}
catch (Exception ex)
{
Console.WriteLine("Error: " + ex.Message);
Console.WriteLine("Press enter key to exit...");
Console.ReadLine();
}
}
/// <summary>
/// Return Calender Entry Format
/// </summary>
/// <returns></returns>
private static string GetCalenderEntryFormatText()
{
return @"BEGIN:VCALENDAR
BEGIN:VEVENT
DTSTART:20181113T100000Z
DTEND:20181113T150000Z
SUMMARY:New Calendar Entry
DESCRIPTION:Description Text
LOCATION:Chicago
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3
END:VEVENT
END:VCALENDAR";
}
}
}
60 Day Free Trial or Visit ByteScout Barcode Suite Home Page
Explore ByteScout Barcode Suite Documentation
Explore Samples
Sign Up for ByteScout Barcode Suite Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
60 Day Free Trial or Visit ByteScout Barcode Suite Home Page
Explore ByteScout Barcode Suite Documentation
Explore Samples
Sign Up for ByteScout Barcode Suite Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
also available as: