Getting Started

Installation

Before you get started, the last version of the Pegasus.Net SDK must be downloaded from the developer section of the Pegasus web site.

The SDK setup installs the following components:

The first program

To begin using the PegasusPen component follow the following steps:

  1. Open Visual Studio, and create a new Windows Forms Application project.
  2. Open the Visual Studio Toolbox. Right click anywhere on the toolbox and from the displayed menu, select the [Choose Items...] entry.  A list of .Net Framework Components is displayed. Navigate to PegasusPen component and check it's associated CheckBox. Press Ok. The PegasusPen component, should now appear in the Toolbox Components Tab.
  3. Put a PegasusPen component on the form.
  4. Connect a Pegasus Pen or compatible Digital Pen, to the USB port.
  5. Put a new Button control on the form. On its Click event, write the following code:

pegasusPen1.Enabled = true;

All available properties event and methods are now available through the PegasusPen component.

For more sample code, see the Samples folder in the SDK installation folder, and the Samples section in the documentaion.