Leadtools.Windows.D2DRendering Getting Started (WPF)

Summary

For pointers to sample programs that demonstrate many features, see the table below:

.NET
Java/Android
JavaScript
Xamarin
iOS and macOS

.NET

Redistributables Paths

Assembly -
Class/Namespace
Comments

Leadtools.Windows.D2DRendering.dll -D2DSurface

Contains classes for implementing the Microsoft Direct3D API.

The D2DSurface class provides methods for drawing objects on a DirectX device.

Dependencies

Library Description Dependencies
Leadtools.Windows.D2DRendering.dll Core Library

Leadtools.dll

NuGet PackageDescription
Leadtools.Annotations.UI.Wpf Annotation and Image Markup Library for WPF
Leadtools.Document.Viewer.Wpf Document Imaging Library for WPF
Leadtools.Viewer.Controls.Wpf Viewer Controls for WPF

Sample Programs

Demo Name Source Code Path Description
Annotations WinForms \Examples\Annotation\DotNet\Annotations.WinForms

Generates a helper library that includes automation viewer implementation and some helper classes that you can use/customize in your application

Provides user interfaces and dialogs used in other annotations demos

Demo Name Source Code Path Description
Annotations (WPF) \Examples\Annotation\DotNet\Annotations.Wpf

Generates a helper library that includes an automation viewer implementation and some helper classes that you can use/customize in your application.

Provides an implementation for the user interfaces and dialogs used in other annotations demos.

Demo Name Source Code Path Description
Annotations UserMedicalPack \Examples\Annotation\DotNet\UserMedicalPack.WinForms

Demonstrates generating a package of annotations objects that can be integrated with core annotations and automation.

Creates medical specific annotation objects like snap point, intersection point, and Cobb angle.

After creating the package with this demo project, you can load it in the Annotations Demo

You can follow this same procedure to create your own custom objects and easily integrate them with Annotations Automation.

Demo Name Source Code Path Description
Annotations UserMedicalPack \Examples\Annotation\DotNet\UserMedicalPack.Wpf

Generates a package of annotations objects that can be integrated with core annotations and automation.

Creates medical specific annotation objects like snap point, intersection point, and Cobb angle.

After creating the package with this demo project, you can load it in the Annotations Demo

You can follow this same procedure to create your own custom objects and easily integrate them with Annotations Automation.

Demo Name Source Code Path Pre-Compiled Executable Path Description
Annotation Conversion \Examples\Annotation\DotNet\AnnConversionDemo \Bin\DotNet4\<Win32/x64>\AnnConversionDemo_Original.exe

Demonstrates how to convert old LEADTOOLS annotations formats to the new format (Annotations.Engine).

Also converts from annotations saved as tags inside TIFF files or embedded inside PDF files into a LEADTOOLS annotations XML file.

Demo Name Source Code Path Pre-Compiled Executable Path Description
Annotations Bates Stamp Composer \Examples\Annotation\DotNet\AnnotationsBatesStampComposerDemo \Bin\DotNet4\<Win32/x64>\AnnotationsBatesStampComposerDemo_Original.exe

Demonstrates how to create a LEADTOOLS Bates Stamp object, burn it to image, or save it to an XML file.

You can load the saved file using the Annotations demo to apply the stamp object onto the container.

Demo Name Source Code Path Pre-Compiled Executable Path Description
Annotations Demo (WinForms) \Examples\Annotation\DotNet\AnnotationsDemo \Bin\DotNet4\<Win32/x64>\AnnotationsDemo_Original.exe

Demonstrates Annotations (image markup) functionality.

Annotation objects: Rectangle, Ellipse, Hilite, Line, Redact, Text, Ruler, Protractor, CrossProduct, Image, TextPointer, Point, Curve, Point, Polygon, Polyline

Demo Name Source Code Path Pre-Compiled Executable Path Description
Annotations Layers Demo (WinForms) \Examples\Annotation\DotNet\AnnotationsLayersDemo \Bin\DotNet4\<Win32/x64>\AnnotationsLayersDemo_Original.exe

Demonstrates annotations layers support in the LEADTOOLS Annotations (image markup) functionality.

Demo Name Source Code Path Pre-Compiled Executable Path Description
Annotations Roles \Examples\Annotation\DotNet\AnnotationsRolesDemo \Bin\DotNet4\<Win32/x64>\AnnotationsRolesDemo_Original.exe

Demonstrates the annotations roles support in the LEADTOOLS Annotations (image markup) functionality.

Use roles to control access to annotation objects based on user credentials.

Demo Name Source Code Path Pre-Compiled Executable Path Description
Annotations Demo (WPF) \Examples\Annotation\DotNet\WPFAnnotationsDemo \Bin\DotNet4\<Win32/x64>\WPFAnnotationsDemo_Original.exe

Demonstrates Annotations (image markup) functionality.

Annotation objects: Rectangle, Ellipse, Hilite, Line, Redact, Text, Ruler, Protractor, CrossProduct, Image, TextPointer, Point, Curve, Point, Polygon, Polyline

Demo Name Source Code Path Pre-Compiled Executable Path Description
Annotations Layers Demo (WPF) \Examples\Annotation\DotNet\WPFAnnotationsLayersDemo \Bin\DotNet4\<Win32/x64>\WPFAnnotationsLayersDemo_Original.exe

Demonstrates annotations layers support in the LEADTOOLS Annotations (image markup) functionality.

Java/Android

Sample Programs

Demo Name Source Code Path Description
Annotations (Android) \Examples\Annotation\Android\AnnotationsDemo

Demonstrates Annotations (image markup) functionality.

Annotation objects: Rectangle, Ellipse, Hilite, Line, Redact, Text, Ruler, Protractor, CrossProduct, Image, TextPointer, Point, Curve, Point, Polygon, Polyline

Demo Name Source Code Path Description
LeadtoolsAnnotationsAndroid (Android) \Examples\Annotation\Android\LeadtoolsAnnotationsAndroid  
Demo Name Source Code Path Description
Annotations) (Java) \Examples\Annotation\Java\Annotations.Java

Generates a helper jar that includes an automation viewer implementation and some helper classes that you can use/customize in your application.

Provides an implementation for the user interfaces and dialogs used in other annotations demos.

JavaScript

Sample Programs

Demo Name Source Code Path Description
Annotations.JavaScript \Examples\Annotation\JS\DemoLibraries\Annotations.JavaScript  
Demo Name Source Code Path Description
Annotations.UserMedicalPack \Examples\Annotation\JS\DemoLibraries\Annotations.UserMedicalPack  
Demo Name Source Code Path Description
Demos.Annotations \Examples\Annotation\JS\DemoLibraries\Demos.Annotations  
Demo Name Source Code Path Description
Annotations \Examples\Annotation\JS\AnnotationsDemo

Demonstrates Annotations (image markup) functionality.

Annotation objects: Rectangle, Ellipse, Hilite, Line, Redact, Text, Ruler, Protractor, CrossProduct, Image, TextPointer, Point, Curve, Point, Polygon, Polyline

Xamarin

Sample Programs

Demo Name Source Code Path Description
Annotations.UserMedicalPack \Examples\Annotation\Xamarin\Annotations.UserMedicalPack  
Demo Name Source Code Path Description
Annotations.Xamarin \Examples\Annotation\Xamarin\Annotations.Xamarin  
Demo Name Source Code Path Description
Annotations \Examples\Annotation\Xamarin\AnnotationsDemo

Demonstrates Annotations (image markup) functionality.

Annotation objects: Rectangle, Ellipse, Hilite, Line, Redact, Text, Ruler, Protractor, CrossProduct, Image, TextPointer, Point, Curve, Point, Polygon, Polyline

iOS and macOS

Sample Programs

Demo Name Source Code Path Description
Annotations \Examples\Annotation\Xcode\<iOS/macOS>\<Objective-C/Swift>\AnnotationsDemo

Demonstrates Annotations (image markup) functionality.

Annotation objects: Rectangle, Ellipse, Hilite, Line, Redact, Text, Ruler, Protractor, CrossProduct, Image, TextPointer, Point, Curve, Point, Polygon, Polyline

Demo Name Source Code Path Description
Annotations iOS \Examples\Annotation\Xcode\iOS\Objective-C\Leadtools.Annotations.iOS

Generates a helper library that includes automation viewer implementation and some helper classes that you can use/customize in your application

Provides user interfaces and dialogs used in other annotations demos

Demo Name Source Code Path Description
Leadtools.Annotations.macOS \Examples\Annotation\Xcode\macOS\Objective-C\Leadtools.Annotations.macOS  

See Also

Reference

Introduction

Getting Started (Guide to Example Programs)

Interoperation between LEADTOOLS and Windows Presentation Foundation (WPF) images

Summary of All WPF Supported Image File Formats

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

Leadtools.Windows.D2DRendering Assembly

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