ByteScout BarCode Generator SDK - VB.NET - Set Wide To Narrow Ratio - ByteScout

ByteScout BarCode Generator SDK – VB.NET – Set Wide To Narrow Ratio

  • Home
  • /
  • Articles
  • /
  • ByteScout BarCode Generator SDK – VB.NET – Set Wide To Narrow Ratio

How to set wide to narrow ratio in VB.NET using ByteScout Barcode SDK

How to code in VB.NET to set wide to narrow ratio with this step-by-step tutorial

The sample shows steps and algorithm of how to set wide to narrow ratio and how to make it work in your VB.NET application. ByteScout Barcode SDK is the robost SDK that generates high quality barcode images and pdf. Can generate all popular types of barcodes from QR Code, Code 39, Code 128, UPC, GS1, GS-128, PDF417, Datamatrix to more exotic barcode types. Fully customizable fonts, colors, print sizes. Includes special functions to ensure output quality, and tools for adding barcodes to new or existing pdf files and images. It can be used to set wide to narrow ratio using VB.NET.

This code snippet below for ByteScout Barcode SDK works best when you need to quickly set wide to narrow ratio in your VB.NET application. Follow the instructions from the scratch to work and copy the VB.NET code. Code testing will allow the function to be tested and work properly with your data.

You can download free trial version of ByteScout Barcode SDK from our website to see and try many others source code samples for VB.NET.

Try ByteScout Barcode SDK today: Get 60 Day Free Trial or sign up for Web API

Module1.vb
      
Imports Bytescout.BarCode Module Module1 Sub Main() ' Create new barcode Dim barcode As New Barcode() ' Set symbology barcode.Symbology = SymbologyType.Codabar ' Set value barcode.Value = "123456" ' Set wide to narrow ratio barcode.WideToNarrowRatio = 10 ' Save barcode to image barcode.SaveImage("result.png") ' Show image in default image viewer Process.Start("result.png") End Sub End Module

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

VIDEO

ON-PREMISE VERSION

Get 60 Day Free Trial or Visit ByteScout Barcode SDK page

Explore ByteScout Barcode SDK documentation

WEB API

Sign Up for free Web API key

Explore Web API Documentation

Tutorials:

prev
next