Leadtools.Windows.D2DRendering Getting Started (WPF)

Summary

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

.NET
.NET Framework

.NET

Redistributables Paths

Path Target Platform
<installdir>\Bin\net .NET 6+
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\net

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\net

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\net

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\net

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\net \Bin\net\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\net \Bin\net\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\net \Bin\net\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\net \Bin\net\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\net \Bin\net\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\net \Bin\net\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\net \Bin\net\WPFAnnotationsLayersDemo_Original.exe

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

.NET Framework

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
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\fx

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\fx

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\fx

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\fx

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\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\AnnConversionDemo.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\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\AnnotationsBatesStampComposerDemo.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\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\AnnotationsDemo.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\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\AnnotationsLayersDemo.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\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\AnnotationsRolesDemo.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\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\WPFAnnotationsDemo.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\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\WPFAnnotationsLayersDemo.exe

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

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 23.0.2024.3.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.D2DRendering Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.