How to get the barcode image centered in Reporting Services
Technologies used
- Neodynamic Barcode Professional 3.0 for Reporting Services
- Microsoft .NET Framework 1.1 or greater
- Microsoft Visual Studio .NET 2003, Microsoft Visual Studio 2005 or SQL Server Business Intelligence Development Studio
- Microsoft SQL Server 2000/2005 Reporting Services or Visual Studio Local Reports RDLC
|
In some cases, you could want to create a barcode image centered inside a given area. Take a look the following scenarios to learn how to accomplish that simple task.
If you are using Reporting Services 2000 or Visual Studio Local Reports RDLC
Given these reporting scenarios, suppose you want to create a barcode image centered inside an area of size 2 inch x 1 inch. In order to accomplish that task you must:
If you are using Reporting Services 2005
In this reporting scenario, the Barcode Professional Report Item is placed on the report surface where you want to display the barcode image. If Barcode Professional is used as a Report Item, then a few main properties must be specified. Given the previous hypothetical example, if you want to create a barcode image centered inside an area of size 2 inch x 1 inch, then you must set up the following properties of the Barcode Professional Report Item:
- Set the AutoSize property to False
- Set the Size property to 2in, 1in
Barcode Professional Report Item properties settings for centering barcode images
If you need more information or assistance, please contact our
.
|