New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

PDF417 Standard

Username:
Password:
Comment:

The deemo demonstrates the PDF417 standard for our RadBarcode control.

This standard works in both EmbeddedPNG and SVG_VML output types and behaves similar to the other barcode standards. It is affected by the LineWidth property when rendered as embedded PNG. And only by Width and Height properties of the control, when rendered in SVG.

  • DefaultCS.aspx
  • DefaultCS.aspx.cs
  • styles.css
<%@ Page Language="c#" CodeFile="DefaultCS.aspx.cs" AutoEventWireup="false" Inherits="Telerik.BarcodeExamplesCS.PDF417Standard.DefaultCS" %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %>
<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head runat="server">
    <title>Telerik ASP.NET Example</title>
    <link type="text/css" rel="Stylesheet" href="styles.css" />
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
    <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
    <div class="demo-containers">
        <div class="demo-container wrapper">
            <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server">
                <div class="demo-container demo-content">
                    <asp:Label ID="Label1" runat="server" Text="Username:" Width="80px"></asp:Label>
                    <telerik:RadTextBox RenderMode="Lightweight" runat="server" ID="RadTextBox1" Width="216px" MaxLength="7" EmptyMessage="Enter username"></telerik:RadTextBox>
                    <br />

                    <asp:Label ID="Label2" runat="server" Text="Password:" Width="80px"></asp:Label>
                    <telerik:RadTextBox RenderMode="Lightweight" runat="server" ID="RadTextBox2" Width="216px" MaxLength="7" TextMode="Password"></telerik:RadTextBox>
                    <br />

                    <asp:Label ID="Label3" runat="server" Text="Comment:" Width="80px"></asp:Label>
                    <telerik:RadTextBox RenderMode="Lightweight" runat="server" ID="RadTextBox3" Width="216px" MaxLength="25" EmptyMessage="Enter comment" TextMode="MultiLine" Height="100px" Resize="None"></telerik:RadTextBox>
                    <br />

                    <telerik:RadButton RenderMode="Lightweight" runat="server" ID="RadButton1" Text="Generate" CssClass="submitButton" OnClick="btn1_Click" Width="100px" Style="float: right;"></telerik:RadButton>
                    <br />

                    <telerik:RadBarcode runat="server" ID="RadBarcode1"
                        Text="Place some text here"
                        OutputType="EmbeddedPNG"
                        Type="PDF417"
                        LineWidth="2"
                        Height="50px">
                        <PDF417Settings AspectRatio="5" EncodingMode="Text" ErrorCorrectionLevel="0" />
                    </telerik:RadBarcode>
                </div>
            </telerik:RadAjaxPanel>
        </div>
    </div>
    </form>
</body>
</html>

Support & Learning Resources

Find Assistance