BarCode

3 posts, 0 answers
  1. Vinetha
    Vinetha avatar
    5 posts
    Member since:
    Jan 2013

    Posted 25 Mar 2013 Link to this post

    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. Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 27 Mar 2013 Link to this post

    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.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Vinetha
    Vinetha avatar
    5 posts
    Member since:
    Jan 2013

    Posted 28 Mar 2013 Link to this post

    Hi,
    Its working fine. Thanks.

    Regards,
    Vinetha
Back to Top