[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Collapse]Office File API
  Demo Application
  Redistribution and Deployment
 [Expand]Spreadsheet Document API
 [Expand]Word Processing Document API
 [Expand]PDF Document API
 [Expand]Excel Export Library
 [Expand]Snap Report API
 [Expand]Zip Compression and Archive API
 [Expand]Barcode Generation API
 [Collapse]Unit Conversion API
   Getting Started
  [Expand]Examples
 [Expand]API Reference
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Getting Started

Important

The Universal Subscription or an additional Office File API Subscription is required to use this example in production code. Refer to the DevExpress Subscription page for pricing information.

Perform the following steps to get started with the Unit Conversion API.

  1. Start Microsoft Visual Studio and create a new Windows Forms Application project.

  2. On the Project menu, choose Add Reference. Alternatively, you can right-click your project in Solution Explorer and then click Add Reference. The Reference Manager dialog window is displayed. Select the DevExpress.Docs.v19.1.dll assembly and then click OK.

  3. Drag a Button control from the Toolbox and drop it on the form.
  4. Double click the button. Paste the code below in the ButtonClick event handler.

  5. Run the project and click the button.

Is this topic helpful?​​​​​​​