Leadtools.Controls Getting Started (.NET)

Summary

Leadtools.Controls has the following implementations that provide image viewing controls:

.NET
Android
JavaScript HTML5
Xamarin
iOS and macOS

.NET

Redistributables Paths

Path Target Platform
<installdir>\Redist\DotNet4\Win32 x86 .NET 4 or 4.5
<installdir>\Redist\DotNet4\x64 x64 .NET 4 or 4.5

Dependencies

Library Description
Leadtools.Controls.WinForms.dll Windows Forms Controls Library
Leadtools.Controls.Wpf.dll WPF Forms Controls Library
NuGet PackageDescription
Leadtools.Viewer.Controls.WinForms Image Viewer Controls for WinForms
Leadtools.Viewer.Controls.Wpf Viewer Controls for WPF

Sample Programs

Name Path Description
Draw Demo \Examples\Main\DotNet\DrawDemo

Demonstrates using RasterImage object as a drawing surface.

  • Gets a drawing surface for the LEADTOOLS RasterImage object.
  • Draws graphic objects on the RasterImage object.
  • Saves the updated image.
Main Demo \Examples\Main\DotNet\MainDemo

Demonstrates many of the basic and advanced core features of LEADTOOLS.

  • Load and save all formats supported by LEADTOOLS
  • Display (scroll/zoom) images with options, including Animation
  • Apply Image Processing
  • Capture images from the screen
  • Acquire images from TWAIN and WIA scanners
  • Print images
  • Copy/paste images to and from the clipboard
Paint While Load Demo \Examples\Main\DotNet\PaintWhileLoadDemo

Demonstrates painting an image to the screen while loading/decoding.

Simulates receiving an image file over a slow connection.

Paints the image in chunks, as it is loaded/decoded.

Print Preview Demo \Examples\Main\DotNet\PrintPreviewDemo

Demonstrates implementing image print preview support using LEADTOOLS.

Main Demo (WPF) \Examples\Main\DotNet\WPFMainDemo

Demonstrates many of the basic and advanced core features of LEADTOOLS WPF.

  • Load and save all formats supported by LEADTOOLS
  • Display (scroll/zoom) images with options
  • Apply Image Processing
MRC Segmentation Demo \Examples\PDF\DotNet\MrcSegmentationDemo

Demonstrates MRC segmentation functionality.

Create Mixed Raster Content images which simultaneously maximize image compression and image quality.

PDF Compressor Demo \Examples\PDF\DotNet\PdfCompDemo

Demonstrates PDFCompressor functionality.

Convert images to PDF documents using Mixed Raster Content (MRC) technique and many compression types.

PDF Document Demo \Examples\PDF\DotNet\PDFDocumentDemo

Demonstrates PDF SDK functionality with loading and extracting info from PDF documents.

  • Search, copy, and extract Text and images.
  • Load, edit and add Annotations.
  • Load bookmarks and internal links.
  • Load Document metadata.
  • Export text file.
PDF File Demo \Examples\PDF\DotNet\PDFFileDemo

Demonstrates PDF SDK functionality with manipulation and conversion PDF documents.

  • Optimize PDF documents.
  • Convert to PDF/A documents.
  • Linearize PDF documents for fast web viewing.
  • Merge and split PDF documents.
  • Encrypt PDF documents.
  • Add, replace, and delete pages.
  • Update PDF document metadata.
  • Update PDF document initial view.
  • Convert postscript files to PDF documents.
PDF Forms Demo (WinForms) \Examples\PDF\DotNet\PDFFormsDemo

Demo allows the user to add user input to fields, zoom in and out, adjust PDF view, scroll through all the pages of the PDF, and save the file.

PDF Forms Demo (WPF) \Examples\PDF\DotNet\WPFPDFFormsDemo

Demonstrates PDF Forms features.

  • Load and display single or multi-page PDF files.
  • Extract PDF Forms data from PDF pages as XML
  • Build UI based on PDF Forms data (fields)
  • Overlay UI on top of displayed PDF pages
  • Save PDF Forms data as XML

Android

Redistributables Paths

Path Target Platform
<installdir>\Bin\Java\ leadtools.controls.jar (Android)

Dependencies

Library Description Jars Native Libraries
leadtools.controls.jar Core library

Android

libleadtools.so

Sample Programs

Name Path Description
LeadtoolsDemos (Android) \Examples\Main\Android\LeadtoolsDemos
Main Demo (Java) \Examples\Main\Java\MainDemo

Demonstrates the basic and core features of LEADTOOLS.

  • Load and save all formats supported by LEADTOOLS
  • Apply Image Processing

JavaScript HTML5

Refer to Leadtools.Controls HTML5 - Getting Started for information on JavaScript and TypeScript HTML5 support:

  • Leadtools.Controls.js
  • Leadtools.Controls.d.ts

Sample Programs

Name Path Description
Annotations.JavaScript \Examples\Main\JS\DemoLibraries\Annotations.JavaScript
Annotations.UserMedicalPack \Examples\Main\JS\DemoLibraries\Annotations.UserMedicalPack
Demos \Examples\Main\JS\DemoLibraries\Demos
Demos.Annotations \Examples\Main\JS\DemoLibraries\Demos.Annotations
Demos.Basic \Examples\Main\JS\DemoLibraries\Demos.Basic
Demos.Styles \Examples\Main\JS\DemoLibraries\Demos.Styles
DemoServices \Examples\Main\JS\DemoServices
\Examples\Main\JS\DemoServices\core
\Examples\Main\JS\DemoServices\fx
LeadtoolsServicesHostManager \Examples\Main\JS\LeadtoolsServicesHostManager

Xamarin

Sample Programs

Name Path Description
Demos.Xamarin \Examples\Main\Xamarin\Demos.Xamarin

iOS and macOS

Sample Programs

Name Path Description
C Application \Examples\Main\Xcode\iOS\Objective-C\C Application
\Examples\Main\Xcode\iOS\Swift\C Application

See Also

Reference

Using Image Viewer

Loading And Saving Images With The LEADTOOLS RasterImageViewer

Version History

Leadtools.Controls Assembly Changes

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.