Compartilhar via


Adding Ink Controls to a Project

Adding Ink Controls to a Project

Description of how to add the appropriate references to add ink controls to a Microsoft Visual Basic .NET, Microsoft Visual C# .NET, or Microsoft Visual Basic project.

Visual Basic .NET and Visual C#

To add an InkEdit or InkPicture control to a Microsoft® Visual Basic® .NET or Microsoft Visual C#® project

  1. Right-click within the Toolbox, and then click Customize Toolbox.
  2. In the Customize Toolbox dialog box, click the .NET Framework Components tab.
  3. In the list box, select the InkEdit and InkPicture controls, and then click OK.
    The controls are added to the Toolbox under the Components tab.
  4. Select the control you want from the Toolbox, and then drag the control to the place on the form where you want it to appear.

Note: The Tablet PC managed library can support Web controls in partially trusted environments, namely execution of managed assemblies from web pages. However, Ink-enabled ActiveX controls on Web pages are not supported.

Visual Basic 6

To add an InkEdit or InkPicture control to a Visual Basic 6.0 project

  1. Right-click within the Toolbox, and click Components.

  2. On the Controls tab, select both Microsoft InkEdit Control 1.0 and Microsoft Tablet PC Type Library, version 1.0, and then click OK.

    Note: Microsoft InkEdit Control 1.0 is only necessary if you are using the InkEdit control in your project.

    The controls are added to the bottom of the Toolbox.

  3. Select the control you want from the Toolbox, and then drag the control to the place on the form where you want it to appear.