How to create Singapore 4-State Postal Code (Singapore 4-State Postal, SingPost 4-State, SingPost Barcode, Singapore 4-State Code) barcode using Bytescout BarCode SDK for .NET - ByteScout
Announcement
Our ByteScout SDK products are sunsetting as we focus on expanding new solutions.
Learn More Open modal
Close modal
Announcement Important Update
ByteScout SDK Sunsetting Notice
Our ByteScout SDK products are sunsetting as we focus on our new & improved solutions. Thank you for being part of our journey, and we look forward to supporting you in this next chapter!

How to create Singapore 4-State Postal Code (Singapore 4-State Postal, SingPost 4-State, SingPost Barcode, Singapore 4-State Code) barcode using Bytescout BarCode SDK for .NET

  • Home
  • /
  • Articles
  • /
  • How to create Singapore 4-State Postal Code (Singapore 4-State Postal, SingPost 4-State, SingPost Barcode, Singapore 4-State Code) barcode using Bytescout BarCode SDK for .NET
Output barcode screenshot (Singapore 4-State Postal Code symbology)

Singapore 4-State Postal Code sample image

Singapore 4-State Postal Code barcode (Also known as Singapore 4-State Postal, SingPost 4-State, SingPost Barcode, Singapore 4-State Code). This Symbology is used by Singapore Post (SingPost) for Postal code and automatic mail sorting. Such barcode provides information about the address of the receiver. This symbology encodes alpha-numeric characters (0-9, A-Z).

Important: you can also use BarCode Windows Forms or Web ImageControl instead. To use the Windows Formscontrol in Visual Studio please open Toolbox and open “Bytescout Software” tab and drag-n-drop “BarCode” control into your WinForms or ASP.NET application (in design mode)

The video tutorial how to make Singapore Postal Code

Visual Basic:

Imports Bytescout.BarCode

Module Module1

Sub Main()
‘ Create new barcode
Dim barcode As New Barcode()

‘ Set symbology
barcode.Symbology = SymbologyType.SingaporePostalCode

‘ Set value
barcode.Value = “12345testing

‘ Save barcode to image
barcode.SaveImage(“result.png”)

‘ Show image in default image viewer
Process.Start(“result.png”)
End Sub

End Module

C#:

using System;
using System.Collections.Generic;
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.SingaporePostalCode;

// Set value
barcode.Value = “12345testing“;

// Save barcode to image
barcode.SaveImage(“result.png”);

// Show image in default image viewer
Process.Start(“result.png”);
}
}
}

Tutorials:

prev
next