Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Thursday, November 16, 2017 4:14:50 PM(UTC)
Nick Villalobos

Groups: Registered
Posts: 119

Was thanked: 4 time(s) in 4 post(s)

With the newest version of the LEADTOOLS SDK, Version 20, there will be NuGet packages that need to be installed into your solution. Once the NuGets have been installed, it will automatically add the DLLs to your references folder. This will allow you to begin coding right away without having to manually reference each DLL to your application. Below you find a step-by-step process on how to add the LEADTOOLS NuGets to your project.

  1. Open Visual Studio and create a new "Cross Platform App (Xamarin)"
    UserPostedImage

  2. Select "Shared Project" and click "OK"
    UserPostedImage

  3. Now in your Solution Explorer, right click your solution and select "Manage NuGet Packages for Solution..."
    UserPostedImage

  4. Select "Browse" to search for the LEADTOOLS NuGet with the Package Source being "nuget.org"
    UserPostedImage

  5. Select the NuGet and select the project you want to add it to and click "Install"

  6. Notice your references now has all the DLLs that were contained within that NuGet
    UserPostedImage

  7. Drop down MainPage.xaml and select MainPage.xaml.cs and add "using Leadtools;"
    UserPostedImage

  8. Add the RasterSupport.SetLicense(); call to unlock to the toolkit:

    Code:
    
    RasterSupport.Initialize(this);
    string licString = "[License]\n" + "License = <doc><ver>2.0</ver><code>PASTE YOUR LICENSE CONTENTS HERE</code></doc>";
                   string developerKey = "PASTE YOUR DEVELOPER KEY HERE";
                   byte[] licBytes = System.Text.Encoding.UTF8.GetBytes(licString);
                   RasterSupport.SetLicense(licBytes, developerKey);

Edited by user Tuesday, February 20, 2018 11:05:27 AM(UTC)  | Reason: Not specified

Nick Villalobos
Developer Support Engineer
LEAD Technologies, Inc.

LEAD Logo
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.050 seconds.