API Sample Page

This is a sample of a typical API page in an online Help system. Use BodyText for most of this content. The chunks are separated by h3 titles.

Syntax

[C#]
using Intermec.DataCollection;
namespace DataCollection
{
    public partial class frmBarcodeReader : Form
    {
        private Intermec.DataCollection.BarcodeReader bcr;
        public frmBarcodeReader()
        {
            InitializeComponent();
            bcr = new BarcodeReader(256);
            bcr.BarcodeRead += new BarcodeReadEventHandler(bcr_BarcodeRead);
            bcr.BarcodeReadError += new BarcodeReadErrorEventHandler(bcr_BarcodeReadError);
            bcr.ThreadedRead(true);
        }
    }
    void bcr_BarcodeReadError(object sender, BarcodeReadErrorEventArgs breErr)
    {  
    this.listBox1.Items.Add("Error = " + breErr.errMessage.ToString());
    } 
}	

Parameters

parmOneGoesHere
All these lines are BodyText with soft returns between. To italicize the parameter name, make sure the Styles list (on the right) is visible, select the parameter name, and then select "i" from the Available Styles list.

parmTwoGoesHere
Ditto.

Return Values

Nothing special here.

Or here.

More Information