Creating Barcode Designer

6 posts, 0 answers
  1. Rene
    Rene avatar
    21 posts
    Member since:
    Feb 2014

    Posted 01 Aug Link to this post

    Hi @ all,

    we are thinking to create a small Barcode-Designer with telerik wpf Controls. Conditions:

    - Creating Layouts in different dimensions.
    - Load Layout out of (txt) File and
    - Add Fields like text, Real/Integer, Images, Barcodes
    - Save the Layout in a file (.txt?) like:
    - Print a Testfile in pdf.

    Second Programm running on a windows client

    Which controls are usefull? Is it possible to do with telerik wpf controls?
    Any Ideas?

    Thanks a lot

    Best Regards
    RENE

  2. Martin Ivanov
    Admin
    Martin Ivanov avatar
    1408 posts

    Posted 03 Aug Link to this post

    Hello Rene,

    If you send me some images I could think of a more concrete examples, but with the provided information I could suggest you the following controls.
    • Creating Layouts in different dimensions.

      Depending on what exactly you want to achieve you can use different controls. RadLayoutControl, RadDocking or RadDiagram could be useful for this.

    • Save and Load Layout out of (txt) file

      Some of the controls support this out of the box. However, you can check also the PersistenceFramework which can help you to preserve the current state of the UI. Also, see the RadDocking save/load layout feature.

    • Add fields like text, real/integer, images, barcodes

      I am not sure what exactly you mean here but you can use different controls as the masked text input components and the barcode control.

    • Print a test file in pdf

      Some of the controls support printing out of the box. However, you can also use the WPF native printing API. Additionally, you can use the Telerik RadPdfProcessing library to create a PDF file and export it.

    I hope this helps.

    Regards,
    Martin Ivanov
    Progress Telerik
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
  3. Rene
    Rene avatar
    1 posts
    Member since:
    Aug 2017

    Posted 03 Aug Link to this post

    Hi Martin,

    i want to create a "trdy" file without using Report Designer. I have to create i file like this:

    <?xml version="1.0" encoding="utf-8"?>
    <Report Width="194.000356466442mm" UnitOfMeasure="Mm" Name="BarcodesReport" SnapGridSize="0.1cm" xmlns="http://schemas.telerik.com/reporting/2012/4.2">
      <Items>
        <DetailSection KeepTogether="False" Height="275.611608287608mm" Name="detail">
          <Items>
            <Table Width="7.63780929131798in" Height="10.8508128080854in" Left="0in" Top="0in" Name="table2">
              <Body>
                <Cells>
                  <TableCell RowIndex="0" ColumnIndex="1" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="1.0000004814696cm" Height="0.750000049115808cm" Left="0in" Top="0in" Name="textBox52" StyleName="" />
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="1" ColumnIndex="1" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="1.00000048116236cm" Height="25.0000003444802mm" Left="0in" Top="0in" Name="textBox61" StyleName="" />
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="0" ColumnIndex="3" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="1.0000004814696cm" Height="0.750000049115808cm" Left="0in" Top="0in" Name="textBox65" StyleName="" />
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="1" ColumnIndex="3" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="1.00000048116236cm" Height="25.0000003444802mm" Left="0in" Top="0in" Name="textBox67" StyleName="" />
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="2" ColumnIndex="1" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="1.0000004804496cm" Height="0.750000002689678cm" Left="0in" Top="0in" Name="textBox69" StyleName="" />
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="2" ColumnIndex="3" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="1.0000004804496cm" Height="0.750000002689678cm" Left="0in" Top="0in" Name="textBox71" StyleName="" />
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="0" ColumnIndex="0" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="5.80001175409874cm" Height="0.750000049115808cm" Left="0cm" Top="0cm" Value="QR Code" Name="textBox73">
                        <Style>
                          <BorderStyle Top="None" Bottom="Solid" />
                          <BorderColor Top="Black" Bottom="Black" />
                          <BorderWidth Top="1pt" Bottom="1pt" />
                        </Style>
                      </TextBox>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="0" ColumnIndex="2" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="5.80001175409874cm" Height="0.750000049115808cm" Left="0cm" Top="0cm" Value="QR Code" Name="textBox50">
                        <Style>
                          <BorderStyle Top="None" Bottom="Solid" />
                          <BorderColor Top="Black" Bottom="Black" />
                          <BorderWidth Top="1pt" Bottom="1pt" />
                        </Style>
                      </TextBox>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="0" ColumnIndex="4" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="5.80001175409874cm" Height="0.750000049115808cm" Left="0in" Top="0in" Value="PDF417" Name="textBox54">
                        <Style>
                          <BorderStyle Top="None" Bottom="Solid" />
                          <BorderColor Top="Black" Bottom="Black" />
                          <BorderWidth Top="1pt" Bottom="1pt" />
                        </Style>
                      </TextBox>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="3" ColumnIndex="1" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="1.00000048218236cm" Height="24.9999990679735mm" Left="0in" Top="0in" Name="textBox74" StyleName="" />
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="3" ColumnIndex="3" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="1.00000048218236cm" Height="24.9999990679735mm" Left="0in" Top="0in" Name="textBox76" StyleName="" />
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="4" ColumnIndex="1" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="1.0000004794296cm" Height="0.750000027742196cm" Left="0in" Top="0in" Name="textBox79" StyleName="" />
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="4" ColumnIndex="3" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="1.0000004794296cm" Height="0.750000027742196cm" Left="0in" Top="0in" Name="textBox81" StyleName="" />
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="5" ColumnIndex="1" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="1.00000048320236cm" Height="24.9999997198065mm" Left="0in" Top="0in" Name="textBox84" StyleName="" />
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="5" ColumnIndex="3" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="1.00000048320236cm" Height="24.9999997198065mm" Left="0in" Top="0in" Name="textBox86" StyleName="" />
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="6" ColumnIndex="1" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="1.00000054302601cm" Height="0.750000032816519cm" Left="0in" Top="0in" Name="textBox89" StyleName="" />
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="6" ColumnIndex="3" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="1.00000054302601cm" Height="0.750000032816519cm" Left="0in" Top="0in" Name="textBox91" StyleName="" />
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="7" ColumnIndex="1" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="1.00000048422237cm" Height="24.9999985098361mm" Left="0in" Top="0in" Name="textBox94" StyleName="" />
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="7" ColumnIndex="3" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="1.00000048422237cm" Height="24.9999985098361mm" Left="0in" Top="0in" Name="textBox96" StyleName="" />
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="8" ColumnIndex="1" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="1.00000051344599cm" Height="0.749999991934487cm" Left="0in" Top="0in" Name="textBox99" StyleName="" />
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="8" ColumnIndex="3" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="1.00000051344599cm" Height="0.749999991934487cm" Left="0in" Top="0in" Name="textBox101" StyleName="" />
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="9" ColumnIndex="1" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="1.00000048524237cm" Height="25.000001832891mm" Left="0in" Top="0in" Name="textBox104" StyleName="" />
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="9" ColumnIndex="3" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="1.00000048524237cm" Height="25.000001832891mm" Left="0in" Top="0in" Name="textBox106" StyleName="" />
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="10" ColumnIndex="1" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="1.00000049508599cm" Height="0.749999990039771cm" Left="0in" Top="0in" Name="textBox109" StyleName="" />
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="10" ColumnIndex="3" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="1.00000049508599cm" Height="0.749999990039771cm" Left="0in" Top="0in" Name="textBox111" StyleName="" />
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="11" ColumnIndex="1" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="1.00000048626237cm" Height="24.999998353228mm" Left="0in" Top="0in" Name="textBox114" StyleName="" />
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="11" ColumnIndex="3" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="1.00000048626237cm" Height="24.999998353228mm" Left="0in" Top="0in" Name="textBox116" StyleName="" />
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="12" ColumnIndex="1" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="1.00000054542239cm" Height="0.750000063107729cm" Left="0in" Top="0in" Name="textBox119" StyleName="" />
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="12" ColumnIndex="3" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="1.00000054542239cm" Height="0.750000063107729cm" Left="0in" Top="0in" Name="textBox121" StyleName="" />
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="13" ColumnIndex="1" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="1.00000048728237cm" Height="25.0000014738703mm" Left="0in" Top="0in" Name="textBox124" StyleName="" />
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="13" ColumnIndex="3" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="1.00000048728237cm" Height="25.0000014738703mm" Left="0in" Top="0in" Name="textBox126" StyleName="" />
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="14" ColumnIndex="1" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="1.00000051278238cm" Height="0.750000029740587cm" Left="0in" Top="0in" Name="textBox129" StyleName="" />
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="14" ColumnIndex="3" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="1.00000051278238cm" Height="0.750000029740587cm" Left="0in" Top="0in" Name="textBox131" StyleName="" />
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="15" ColumnIndex="1" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="1.00000048830237cm" Height="2.50000005238463cm" Left="0in" Top="0in" Name="textBox134" StyleName="" />
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="15" ColumnIndex="3" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="1.00000048830237cm" Height="2.50000005238463cm" Left="0in" Top="0in" Name="textBox136" StyleName="" />
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="1" ColumnIndex="0" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <Barcode Width="5.80000019073486cm" Height="25.0000019073486mm" Left="0in" Top="0in" Value="http://demos.telerik.com/reporting" Stretch="True" Name="barcode25">
                        <Style>
                          <BorderStyle Top="None" Bottom="None" />
                          <BorderColor Top="Black" Bottom="Black" Left="Black" Right="Black" />
                          <BorderWidth Top="1pt" Bottom="1pt" Left="1pt" Right="1pt" />
                          <Padding Top="0cm" Bottom="0cm" />
                        </Style>
                        <Encoder>
                          <QRCodeEncoder ErrorCorrectionLevel="H" />
                        </Encoder>
                      </Barcode>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="1" ColumnIndex="2" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <Barcode Width="5.80000019073486cm" Height="25.0000019073486mm" Left="0cm" Top="0cm" Value="http://www.telerik.com" Stretch="True" Name="barcode26">
                        <Style>
                          <BorderStyle Top="None" Bottom="None" />
                          <BorderColor Top="Black" Bottom="Black" Left="Black" Right="Black" />
                          <BorderWidth Top="1pt" Bottom="1pt" Left="1pt" Right="1pt" />
                          <Padding Top="0cm" Bottom="0cm" />
                        </Style>
                        <Encoder>
                          <QRCodeEncoder Version="3" />
                        </Encoder>
                      </Barcode>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="1" ColumnIndex="4" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <Barcode Width="5.80000019073486cm" Height="25.0000019073486mm" Left="0in" Top="0in" Value="01234567890" Stretch="True" Name="barcode28">
                        <Style>
                          <BorderStyle Top="None" Bottom="None" />
                          <BorderColor Top="Black" Bottom="Black" Left="Black" Right="Black" />
                          <BorderWidth Top="1pt" Bottom="1pt" Left="1pt" Right="1pt" />
                          <Padding Top="0.25cm" Bottom="0.25cm" />
                        </Style>
                        <Encoder>
                          <PDF417Encoder />
                        </Encoder>
                      </Barcode>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="3" ColumnIndex="4" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <Barcode Width="5.80001163482666cm" Height="25mm" Left="0in" Top="0in" Value="01234567" Name="barcode3">
                        <Style>
                          <BorderStyle Top="None" Bottom="None" />
                        </Style>
                        <Encoder>
                          <Code25StandardEncoder />
                        </Encoder>
                      </Barcode>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="3" ColumnIndex="2" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <Barcode Width="5.80001163482666cm" Height="25mm" Left="0in" Top="0in" Value="0123456789" Name="barcode27">
                        <Style>
                          <BorderStyle Top="None" Bottom="None" />
                        </Style>
                        <Encoder>
                          <Code11Encoder />
                        </Encoder>
                      </Barcode>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="3" ColumnIndex="0" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <Barcode Width="5.80001175823279cm" Height="24.9999990679735mm" Left="0in" Top="0in" Value="0123456789" Name="barcode29">
                        <Style>
                          <BorderStyle Top="None" Bottom="None" />
                        </Style>
                        <Encoder>
                          <CodabarEncoder />
                        </Encoder>
                      </Barcode>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="5" ColumnIndex="0" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <Barcode Width="5.80001176414881cm" Height="24.9999997198065mm" Left="0in" Top="0in" Value="0123456789" Name="barcode30">
                        <Style>
                          <BorderStyle Top="None" Bottom="None" />
                        </Style>
                        <Encoder>
                          <Code25InterleavedEncoder />
                        </Encoder>
                      </Barcode>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="5" ColumnIndex="2" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <Barcode Width="5.80001176414881cm" Height="24.9999997198065mm" Left="0in" Top="0in" Value="0123456" Name="barcode2">
                        <Style>
                          <BorderStyle Top="None" Bottom="None" />
                        </Style>
                        <Encoder>
                          <Code39Encoder />
                        </Encoder>
                      </Barcode>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="5" ColumnIndex="4" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <Barcode Width="5.80001176414881cm" Height="24.9999997198065mm" Left="0in" Top="0in" Value="0123456" Name="barcode4">
                        <Style>
                          <BorderStyle Top="None" Bottom="None" />
                        </Style>
                        <Encoder>
                          <Code39ExtendedEncoder />
                        </Encoder>
                      </Barcode>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="7" ColumnIndex="0" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <Barcode Width="5.80001177006482cm" Height="24.9999985098361mm" Left="0in" Top="0in" Value="0123456789" Name="barcode31">
                        <Style>
                          <BorderStyle Top="None" Bottom="None" />
                        </Style>
                        <Encoder>
                          <Code93Encoder />
                        </Encoder>
                      </Barcode>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="7" ColumnIndex="2" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <Barcode Width="5.80001177006482cm" Height="24.9999985098361mm" Left="0in" Top="0in" Value="0123456789" Name="barcode32">
                        <Style>
                          <BorderStyle Top="None" Bottom="None" />
                        </Style>
                        <Encoder>
                          <Code93ExtendedEncoder />
                        </Encoder>
                      </Barcode>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="7" ColumnIndex="4" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <Barcode Width="5.80001177006482cm" Height="24.9999985098361mm" Left="0in" Top="0in" Value="0123456789" Name="barcode33">
                        <Style>
                          <BorderStyle Top="None" Bottom="None" />
                        </Style>
                        <Encoder>
                          <Code128Encoder />
                        </Encoder>
                      </Barcode>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="9" ColumnIndex="0" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <Barcode Width="5.80001177598083cm" Height="25.000001832891mm" Left="0in" Top="0in" Value="01234567" Name="barcode34">
                        <Style>
                          <BorderStyle Top="None" Bottom="None" />
                        </Style>
                        <Encoder>
                          <Code128AEncoder />
                        </Encoder>
                      </Barcode>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="9" ColumnIndex="2" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <Barcode Width="5.80001177598083cm" Height="25.000001832891mm" Left="0in" Top="0in" Value="01234567" Name="barcode36">
                        <Style>
                          <BorderStyle Top="None" Bottom="None" />
                        </Style>
                        <Encoder>
                          <Code128BEncoder />
                        </Encoder>
                      </Barcode>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="9" ColumnIndex="4" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <Barcode Width="5.80001177598083cm" Height="25.000001832891mm" Left="0in" Top="0in" Value="0123456789" Name="barcode35">
                        <Style>
                          <BorderStyle Top="None" Bottom="None" />
                        </Style>
                        <Encoder>
                          <Code128CEncoder />
                        </Encoder>
                      </Barcode>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="11" ColumnIndex="0" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <Barcode Width="5.80001178189684cm" Height="24.999998353228mm" Left="0in" Top="0in" Value="012345678" Name="barcode38">
                        <Style>
                          <BorderStyle Top="None" Bottom="None" />
                        </Style>
                        <Encoder>
                          <CodeMSIEncoder />
                        </Encoder>
                      </Barcode>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="11" ColumnIndex="2" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <Barcode Width="5.80001178189684cm" Height="24.999998353228mm" Left="0in" Top="0in" Value="0123456" Name="barcode37">
                        <Style>
                          <BorderStyle Top="None" Bottom="None" />
                        </Style>
                        <Encoder>
                          <EAN8Encoder />
                        </Encoder>
                      </Barcode>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="11" ColumnIndex="4" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <Barcode Width="5.80001178189684cm" Height="24.999998353228mm" Left="0in" Top="0in" Value="012345678912" Name="barcode39">
                        <Style>
                          <BorderStyle Top="None" Bottom="None" />
                        </Style>
                        <Encoder>
                          <EAN13Encoder />
                        </Encoder>
                      </Barcode>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="13" ColumnIndex="0" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <Barcode Width="5.80001178781285cm" Height="25.0000014738703mm" Left="0in" Top="0in" Value="0123456789" Name="barcode40">
                        <Style>
                          <BorderStyle Top="None" Bottom="None" />
                        </Style>
                        <Encoder>
                          <EAN128Encoder />
                        </Encoder>
                      </Barcode>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="13" ColumnIndex="2" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <Barcode Width="5.80001178781285cm" Height="25.0000014738703mm" Left="0in" Top="0in" Value="0123456789" Name="barcode41">
                        <Style>
                          <BorderStyle Top="None" Bottom="None" />
                        </Style>
                        <Encoder>
                          <PostnetEncoder />
                        </Encoder>
                      </Barcode>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="15" ColumnIndex="0" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <Barcode Width="5.80000066757202cm" Height="2.5cm" Left="0in" Top="0in" Value="1200000789" Name="barcode43">
                        <Style>
                          <BorderStyle Top="None" Bottom="None" />
                        </Style>
                        <Encoder>
                          <UPCEEncoder />
                        </Encoder>
                      </Barcode>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="15" ColumnIndex="2" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <Barcode Width="5.80000066757202cm" Height="2.5cm" Left="0in" Top="0in" Value="12" Name="barcode45">
                        <Style>
                          <BorderStyle Top="None" Bottom="None" />
                        </Style>
                        <Encoder>
                          <UPCSupplement2Encoder />
                        </Encoder>
                      </Barcode>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="15" ColumnIndex="4" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <Barcode Width="5.80000066757202cm" Height="2.5cm" Left="0in" Top="0in" Value="01234" Name="barcode44">
                        <Style>
                          <BorderStyle Top="None" Bottom="None" />
                        </Style>
                        <Encoder>
                          <UPCSupplement5Encoder />
                        </Encoder>
                      </Barcode>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="13" ColumnIndex="4" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <Barcode Width="5.80001178781285cm" Height="25.0000014738703mm" Left="0in" Top="0in" Value="0123456789" Name="barcode46">
                        <Style>
                          <BorderStyle Top="None" Bottom="None" />
                        </Style>
                        <Encoder>
                          <UPCAEncoder />
                        </Encoder>
                      </Barcode>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="2" ColumnIndex="0" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="5.80000066757202cm" Height="0.75cm" Left="0in" Top="0in" Value="Codabar" Name="textBox64">
                        <Style>
                          <BorderStyle Top="Solid" Bottom="Solid" />
                          <BorderColor Top="Black" />
                          <BorderWidth Top="1pt" />
                        </Style>
                      </TextBox>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="2" ColumnIndex="2" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="5.80000066757202cm" Height="0.75cm" Left="0in" Top="0in" Value="Code11" Name="textBox68">
                        <Style>
                          <BorderStyle Top="Solid" Bottom="Solid" />
                          <BorderColor Top="Black" />
                          <BorderWidth Top="1pt" />
                        </Style>
                      </TextBox>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="2" ColumnIndex="4" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="5.80000066757202cm" Height="0.75cm" Left="0in" Top="0in" Value="Code25Standard" Name="textBox70">
                        <Style>
                          <BorderStyle Top="Solid" Bottom="Solid" />
                          <BorderColor Top="Black" />
                          <BorderWidth Top="1pt" />
                        </Style>
                      </TextBox>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="4" ColumnIndex="0" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="5.80000066757202cm" Height="0.75cm" Left="0in" Top="0in" Value="Code25Interleaved" Name="textBox72">
                        <Style>
                          <BorderStyle Top="Solid" Bottom="Solid" />
                        </Style>
                      </TextBox>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="4" ColumnIndex="2" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="5.80000066757202cm" Height="0.75cm" Left="0in" Top="0in" Value="Code39" Name="textBox75">
                        <Style>
                          <BorderStyle Top="Solid" Bottom="Solid" />
                        </Style>
                      </TextBox>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="4" ColumnIndex="4" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="5.80000066757202cm" Height="0.75cm" Left="0in" Top="0in" Value="Code39Extended" Name="textBox77">
                        <Style>
                          <BorderStyle Top="Solid" Bottom="Solid" />
                          <BorderColor Top="Black" />
                          <BorderWidth Top="1pt" />
                        </Style>
                      </TextBox>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="6" ColumnIndex="4" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="5.80000066757202cm" Height="0.75cm" Left="0in" Top="0in" Value="Code128" Name="textBox78">
                        <Style>
                          <BorderStyle Top="Solid" Bottom="Solid" />
                        </Style>
                      </TextBox>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="6" ColumnIndex="2" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="5.80000066757202cm" Height="0.75cm" Left="0in" Top="0in" Value="Code93Extended" Name="textBox80">
                        <Style>
                          <BorderStyle Top="Solid" Bottom="Solid" />
                        </Style>
                      </TextBox>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="6" ColumnIndex="0" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="5.80000066757202cm" Height="0.75cm" Left="0in" Top="0in" Value="Code93" Name="textBox82">
                        <Style>
                          <BorderStyle Top="Solid" Bottom="Solid" />
                        </Style>
                      </TextBox>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="8" ColumnIndex="0" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="5.80000066757202cm" Height="0.750000059604645cm" Left="0in" Top="0in" Value="Code128A" Name="textBox85">
                        <Style>
                          <BorderStyle Top="Solid" Bottom="Solid" />
                          <BorderColor Top="Black" />
                          <BorderWidth Top="1pt" />
                        </Style>
                      </TextBox>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="8" ColumnIndex="2" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="5.80000066757202cm" Height="0.750000059604645cm" Left="0in" Top="0in" Value="Code128B" Name="textBox87">
                        <Style>
                          <BorderStyle Top="Solid" Bottom="Solid" />
                          <BorderColor Top="Black" />
                          <BorderWidth Top="1pt" />
                        </Style>
                      </TextBox>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="8" ColumnIndex="4" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="5.80000066757202cm" Height="0.750000059604645cm" Left="0in" Top="0in" Value="Code128C" Name="textBox83">
                        <Style>
                          <BorderStyle Top="Solid" Bottom="Solid" />
                          <BorderColor Top="Black" />
                          <BorderWidth Top="1pt" />
                        </Style>
                      </TextBox>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="10" ColumnIndex="0" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="5.80000066757202cm" Height="0.750000059604645cm" Left="0in" Top="0in" Value="CodeMSI" Name="textBox88">
                        <Style>
                          <BorderStyle Top="Solid" Bottom="Solid" />
                        </Style>
                      </TextBox>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="10" ColumnIndex="2" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="5.80000066757202cm" Height="0.750000059604645cm" Left="0in" Top="0in" Value="CodeMSI" Name="textBox90">
                        <Style>
                          <BorderStyle Top="Solid" Bottom="Solid" />
                        </Style>
                      </TextBox>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="10" ColumnIndex="4" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="5.80000066757202cm" Height="0.750000059604645cm" Left="0in" Top="0in" Value="EAN13" Name="textBox93">
                        <Style>
                          <BorderStyle Top="Solid" Bottom="Solid" />
                        </Style>
                      </TextBox>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="12" ColumnIndex="0" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="5.80000066757202cm" Height="0.750000059604645cm" Left="0in" Top="0in" Value="EAN128" Name="textBox92">
                        <Style>
                          <BorderStyle Top="Solid" Bottom="Solid" />
                        </Style>
                      </TextBox>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="12" ColumnIndex="2" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="5.80000066757202cm" Height="0.750000059604645cm" Left="0in" Top="0in" Value="Postnet" Name="textBox95">
                        <Style>
                          <BorderStyle Top="Solid" Bottom="Solid" />
                        </Style>
                      </TextBox>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="12" ColumnIndex="4" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="5.80000066757202cm" Height="0.750000059604645cm" Left="0in" Top="0in" Value="UPCA" Name="textBox98">
                        <Style>
                          <BorderStyle Top="Solid" Bottom="Solid" />
                        </Style>
                      </TextBox>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="14" ColumnIndex="0" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="5.80000019073486cm" Height="0.75cm" Left="0in" Top="0in" Value="UPCE" Name="textBox97">
                        <Style>
                          <BorderStyle Top="Solid" Bottom="Solid" />
                        </Style>
                      </TextBox>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="14" ColumnIndex="2" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="5.80000019073486cm" Height="0.75cm" Left="0in" Top="0in" Value="UPCSupplement2" Name="textBox102">
                        <Style>
                          <BorderStyle Top="Solid" Bottom="Solid" />
                        </Style>
                      </TextBox>
                    </ReportItem>
                  </TableCell>
                  <TableCell RowIndex="14" ColumnIndex="4" RowSpan="1" ColumnSpan="1">
                    <ReportItem>
                      <TextBox Width="5.80000019073486cm" Height="0.75cm" Left="0in" Top="0in" Value="UPCSupplement5" Name="textBox100">
                        <Style>
                          <BorderStyle Top="Solid" Bottom="Solid" />
                        </Style>
                      </TextBox>
                    </ReportItem>
                  </TableCell>
                </Cells>
                <Columns>
                  <Column Width="5.80001156715701cm" />
                  <Column Width="1.00000037696755cm" />
                  <Column Width="5.80001156715701cm" />
                  <Column Width="1.00000037696755cm" />
                  <Column Width="5.80001156715701cm" />
                </Columns>
                <Rows>
                  <Row Height="0.75000307154752cm" />
                  <Row Height="25.0000058808382mm" />
                  <Row Height="0.75000307154752cm" />
                  <Row Height="25.0000058808382mm" />
                  <Row Height="0.75000307154752cm" />
                  <Row Height="25.0000058808382mm" />
                  <Row Height="0.75000307154752cm" />
                  <Row Height="25.0000058808382mm" />
                  <Row Height="0.75000209615434cm" />
                  <Row Height="25.0000058808382mm" />
                  <Row Height="0.750001890808407cm" />
                  <Row Height="25.0000058808382mm" />
                  <Row Height="0.75000096675171cm" />
                  <Row Height="25.0000038273788mm" />
                  <Row Height="0.750000864078744cm" />
                  <Row Height="2.50000233267333cm" />
                </Rows>
              </Body>
              <Corner />
              <RowGroups>
                <TableGroup Name="group" />
                <TableGroup Name="group1" />
                <TableGroup Name="group5" />
                <TableGroup Name="group6" />
                <TableGroup Name="group7" />
                <TableGroup Name="group8" />
                <TableGroup Name="group9" />
                <TableGroup Name="group10" />
                <TableGroup Name="group11" />
                <TableGroup Name="group12" />
                <TableGroup Name="group13" />
                <TableGroup Name="group14" />
                <TableGroup Name="group15" />
                <TableGroup Name="group16" />
                <TableGroup Name="group17" />
                <TableGroup Name="group18" />
              </RowGroups>
              <ColumnGroups>
                <TableGroup Name="tableGroup">
                  <ReportItem>
                    <TextBox Width="19.4000148773193cm" Height="0.614583432674408in" Left="0in" Top="0in" Value="Barcode Types" Name="textBox66" StyleName="Header">
                      <Style>
                        <BorderStyle Bottom="Ridge" />
                        <BorderWidth Bottom="3pt" />
                      </Style>
                    </TextBox>
                  </ReportItem>
                  <ChildGroups>
                    <TableGroup Name="group3" />
                    <TableGroup Name="tableGroup1" />
                    <TableGroup Name="group2" />
                    <TableGroup Name="group4" />
                    <TableGroup Name="tableGroup2" />
                  </ChildGroups>
                </TableGroup>
              </ColumnGroups>
            </Table>
          </Items>
        </DetailSection>
      </Items>
      <PageSettings PaperKind="A4" Landscape="False">
        <Margins>
          <MarginsU Left="0.3in" Right="0.3in" Top="0.4in" Bottom="0.1in" />
        </Margins>
      </PageSettings>
      <StyleSheet>
        <StyleRule>
          <Style>
            <Padding Left="2pt" Right="2pt" />
          </Style>
          <Selectors>
            <TypeSelector Type="TextItemBase" />
            <TypeSelector Type="HtmlTextBox" />
          </Selectors>
        </StyleRule>
        <StyleRule>
          <Style Color="Black" TextAlign="Left">
            <Font Name="Segoe UI Light" Size="25pt" Bold="True" />
          </Style>
          <Selectors>
            <StyleSelector Type="ReportItemBase" StyleName="Header" />
          </Selectors>
        </StyleRule>
        <StyleRule>
          <Style BackgroundColor="Transparent" Color="177, 161, 82" TextAlign="Center" VerticalAlign="Middle">
            <Font Name="Segoe UI Light" Size="13pt" Bold="True" />
            <BorderStyle Default="None" Top="None" />
            <BorderColor Default="Black" />
          </Style>
          <Selectors>
            <TypeSelector Type="TextBox" />
          </Selectors>
        </StyleRule>
        <StyleRule>
          <Style TextAlign="Center" VerticalAlign="Bottom">
            <Font Name="Segoe UI" Size="9pt" Bold="True" />
            <BorderStyle Top="Solid" Bottom="Solid" />
            <BorderWidth Default="0.5pt" />
            <Padding Top="0.3cm" Bottom="0.5cm" />
          </Style>
          <Selectors>
            <TypeSelector Type="Barcode" />
          </Selectors>
        </StyleRule>
      </StyleSheet>
    </Report>

     

    S far i need a Control where i can add some fields an properties like in the RadDiagram.

     

    Thanks

    Rene

  4. Yana
    Admin
    Yana avatar
    4603 posts

    Posted 08 Aug Link to this post

    Hello Rene,

    I understand that you need to generate the provided xml file by gathering the details from the end user.

    We do not have a ready-to-use solution for such a scenario, indeed, RadDiagram could be used as long as it can serve as a design surface that hosts other controls - you could check the Diagrams Dashboard example at http://demos.telerik.com/wpf/

    Let me know whether such an approach would be suitable for you.

    Also, I'd like to ask you what prevents you from using the Standalone Report Designer provided with the Reporting product instead?

    Regards,
    Yana
    Progress Telerik
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
  5. Rene
    Rene avatar
    21 posts
    Member since:
    Feb 2014

    Posted 09 Aug in reply to Yana Link to this post

    Hello Yana,

    thanks for answering. The standalone Report Designer is much to strong for what we are doing. At the end the
    end-user is working with a simple tool to create his barcode. The user just need a text-field, an image-field, and
    a barcode. So as you can see with the standalone Report Designer, we would have too many sources of error.

    I use the RadDiagram as gui interface to layout the label. Now i have to ways.

    First= Saving the diagram as xml an convert it to rptx-xml or

    Second= Run throug all elements during saving the diagram and create rptx-xml on the fly.

    Thanks

    RENE

  6. Dilyan Traykov
    Admin
    Dilyan Traykov avatar
    603 posts

    Posted 11 Aug Link to this post

    Hello Rene,

    I could not infer from your last reply whether or not you managed to achieve the desired end result. Could you please clarify this?

    Still, you can have a look at the Serialize a Databound Diagram article to get an idea of how to export the control to an XML string. I hope you find this resource helpful.

    Regards,
    Dilyan Traykov
    Progress Telerik
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Back to Top