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

BarCode

2 Answers 110 Views
BarCode
This is a migrated thread and some comments may be shown as answers.
Vinetha
Top achievements
Rank 1
Vinetha asked on 25 Mar 2013, 10:37 AM
Hi,
I  am using the below code to display the bar code in WPF.

<telerik:RadBarcode39 x:Name="BarCodeDisplay" Grid.Row="4" Height="80" Width="100" HorizontalAlignment="Center" VerticalAlignment="Center" ShowChecksum="False" Text="Hello"/>

 

The code is getting displayed with the Text "Hello" below the bar. I need to just display the bar code without the Human readable text.
ShowText property is available in .NET and not in WPF. Let me know if there is any property to be set to hide the readable text "Hello",

2 Answers, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 27 Mar 2013, 08:31 AM
Hello,

You can use a style like the one listed below, to hide the text:
<telerik:RadBarcode39 Height="120" Width="425" Text="123456789012">
            <telerik:RadBarcode39.Resources>
                <Style TargetType="Viewbox">
                    <Setter Property="Visibility" Value="Collapsed" />
                </Style>
            </telerik:RadBarcode39.Resources>
</telerik:RadBarcode39 >

Give this suggestion a try and let me know how it goes and if any other questions arise.

Greetings,
Yavor
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Vinetha
Top achievements
Rank 1
answered on 28 Mar 2013, 09:18 AM
Hi,
Its working fine. Thanks.

Regards,
Vinetha
Tags
BarCode
Asked by
Vinetha
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Vinetha
Top achievements
Rank 1
Share this question
or