This is a migrated thread and some comments may be shown as answers.

barcode text position

1 Answer 88 Views
Barcode
This is a migrated thread and some comments may be shown as answers.
heba
Top achievements
Rank 1
heba asked on 19 Mar 2014, 08:45 AM
Hi,
 I am displaying a Code11 barcode with the Text . On decreasing the ShortLinesLengthPercentage, I recently found the text got very far from the barcode. I want to control position of text How can I fix this?
Thanks

1 Answer, 1 is accepted

Sort by
0
Angel Petrov
Telerik team
answered on 24 Mar 2014, 07:29 AM
Hi Heba,

You can control the position of the text in such case by setting the VerticalTextPositionPercentage property to a suitable value. For example

ASPX:
<telerik:RadBarcode runat="server" ShortLinesLengthPercentage="15" VerticalTextPositionPercentage="35" ID="RadBarcode1" Height="100px"
            Type="Code11" Text="9999999999" Font-Size="16px" LineWidth="4">
            </telerik:RadBarcode>
In the generated barcode the text will be moved below the vertical lines.

Regards,
Angel Petrov
Telerik
 

Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

 
Tags
Barcode
Asked by
heba
Top achievements
Rank 1
Answers by
Angel Petrov
Telerik team
Share this question
or