Aspose.BarCode for Reporting Services provides a light-weight yet fully featured report item designer. This designer can be used to customize the style and layout of the barcode image precisely according to the requirements. Barcode Report Designer is a dialog box through which developers can use many features related to the barcode image and can have a preview of the effect of changes just made. A screenshot of the Barcode Report Designer is shown below:
Using Barcode Report Designer, developers can customize different properties of a barcode image. Let's check them out one by one.
CodeText
CodeText can be set by clicking fx button as shown below in the figure.
|
|
Toggle Expression editor
|
Once the fx button is clicked, an Expression Editor is opened that can be used by developers to create an expression that determines the value of CodeText at runtime. To have an idea of Expression Editor, please check the screenshot shown below:
Appearance of CodeText can be set using Aa and A buttons. Using these buttons, developers can change the font and color of the CodeText according to their rerquirements.
|
|
CodeText Font
|
|
|
CodeText Color
|
It is also possible to display CodeText above or below the barcode image by using CodeLocation combo box as shown in the figure:
Rotation Angle
Developers can also rotate the barcode images in clockwise or anti-clockwise direction. In order to achieve that, they can simply configure the Rotation Angle of the barcode image using following buttons:
|
|
Rotate anti clockwise
|
|
|
Rotate clockwise
|
Note: The default value of Rotation Angle is 0 (Zero).
Barcode Symbology
Aspose.BarCode for Reporting Services supports plenty of barcode symbologies. Developers can select their desired barcode symbologies using the Symbology combo box as shown below in the figure:
You can also find an fx button besides Symbology combo box. Using this button, Symbology can also accept an Expression as input whose value should be one of the following strings:
- Codabar
- Code11
- Code128
- Code93Extended
- Code93Standard
- DataMatrix
- EAN13
- EAN8
- Interleaved2of5
- ITF14
- Pdf417
- Planet
- Postnet
- QR
- UPCA
- UPCE
- Code39Standard
- Code39Extended
- MSI
- Standard2of5
- BooklandEAN
- EAN128
- Aztec
- EAN14
- SSCC18
Note: Above strings are case sensitive. In case of incorrect value, default symbology will be used if barcode image is in a general data region and last symbology will be used if it is in a data row.
Barcode Image Size
Size of barcode images can be adjusted using XDimension, YDimension and BarHeight combo boxes. All the sizing units are measured in inches and incorrect entries are automatically ignored.
Barcode Image Resolution
Resolution of barcode images can be customized using DPIX and DPIY combo boxes.
Barcode Image Rendering Format
Barcode image can be rendered in different image formats using Render Format combo box.
Note: Potable network graphic (Png) image format is recommended.
Symbology Specific Settings
There are few types of barcodes that also support some special settings. To configure these symbology specific settings, developer should select a symbology from the combo box and then click on the Symbology tab pf Barcode Report Designer dialog box.
All sizing units in symbology specific settings are measured in inches and incorrect entries are automatically ignored. The below screenshot is displaying the specific barcode settings for PDF417 symbology.
Barcode Image Preview
Using the Preview window, developers can always have a preview of the changes made to the barcode image before actually applying the changes.
An example of barcode image inserted in a report, after applying all the settings, is displayed in the following screenshot.