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>\Bin\DotNet4\Win32 x86 .NET 4 or 4.5
<installdir>\Bin\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

Demo Name Source Code Path Pre-Compiled Executable Path Description
Draw \Examples\Main\DotNet\DrawDemo \Bin\DotNet4\<Win32/x64>\DrawDemo_Original.exe

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.
Demo Name Source Code Path Pre-Compiled Executable Path Description
Main \Examples\Main\DotNet\MainDemo \Bin\DotNet4\<Win32/x64>\MainDemo_Original.exe

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
Demo Name Source Code Path Pre-Compiled Executable Path Description
Paint While Load \Examples\Main\DotNet\PaintWhileLoadDemo \Bin\DotNet4\<Win32/x64>\PaintWhileLoadDemo_Original.exe

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.

Demo Name Source Code Path Pre-Compiled Executable Path Description
Print Preview \Examples\Main\DotNet\PrintPreviewDemo \Bin\DotNet4\<Win32/x64>\PrintPreviewDemo_Original.exe

Demonstrates implementing image print preview support using LEADTOOLS.

Demo Name Source Code Path Pre-Compiled Executable Path Description
Main Demo (WPF) \Examples\Main\DotNet\WPFMainDemo \Bin\DotNet4\<Win32/x64>\WPFMainDemo_Original.exe

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
Demo Name Source Code Path Pre-Compiled Executable Path Description
MRC Segmentation \Examples\PDF\DotNet\MrcSegmentationDemo \Bin\DotNet4\<Win32/x64>\MrcSegmentationDemo_Original.exe

Demonstrates MRC segmentation functionality.

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

Demo Name Source Code Path Pre-Compiled Executable Path Description
PDF Compressor \Examples\PDF\DotNet\PdfCompDemo \Bin\DotNet4\<Win32/x64>\PdfCompDemo_Original.exe

Demonstrates PDFCompressor functionality.

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

Demo Name Source Code Path Pre-Compiled Executable Path Description
PDF Document \Examples\PDF\DotNet\PDFDocumentDemo \Bin\DotNet4\<Win32/x64>\PDFDocumentDemo_Original.exe

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.
Demo Name Source Code Path Pre-Compiled Executable Path Description
PDF File \Examples\PDF\DotNet\PDFFileDemo \Bin\DotNet4\<Win32/x64>\PDFFileDemo_Original.exe

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.
Demo Name Source Code Path Pre-Compiled Executable Path Description
PDF Forms Demo (WinForms) \Examples\PDF\DotNet\PDFFormsDemo \Bin\DotNet4\<Win32/x64>\PDFFormsDemo_Original.exe

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.

Demo Name Source Code Path Pre-Compiled Executable Path Description
PDF Forms Demo (WPF) \Examples\PDF\DotNet\WPFPDFFormsDemo \Bin\DotNet4\<Win32/x64>\WPFPDFFormsDemo_Original.exe

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.android.jar (Android)

Dependencies

Library Description Jars Native Libraries
leadtools.jar Core library

Android

libleadtools.so

Sample Programs

Demo Name Source Code Path Description
LeadtoolsDemos (Android) \Examples\Main\Android\LeadtoolsDemos  
Demo Name Source Code Path Description
Main (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

Demo Name Source Code Path Description
Demos \Examples\Main\JS\DemoLibraries\Demos  
Demo Name Source Code Path Description
Demos.Basic \Examples\Main\JS\DemoLibraries\Demos.Basic  
Demo Name Source Code Path Description
Demos.Styles \Examples\Main\JS\DemoLibraries\Demos.Styles  
Demo Name Source Code Path Description
DemoServices \Examples\Main\JS\DemoServices\<core/fx>  
Demo Name Source Code Path Pre-Compiled Executable Path Description
LeadtoolsServicesHostManager \Examples\Main\JS\LeadtoolsServicesHostManager \Bin\DotNet4\<Win32/x64>\LeadtoolsServicesHostManager_Original.exe  

Xamarin

Sample Programs

Demo Name Source Code Path Description
Demos.Xamarin \Examples\Main\Xamarin\Demos.Xamarin  

iOS and macOS

Sample Programs

Demo Name Source Code Path Description
C Application \Examples\Main\Xcode\iOS\<Objective-C/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 22.0.2022.4.4
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly

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