←Select platform

Context Property (AnnD2DRenderingEngine)

Summary
Gets the destination d2d surface object to use when rendering the annotation objects.
Syntax
C#
VB
public D2DSurface Context {get;} 
Public ReadOnly Property Context As D2DSurface 

Property Value

The destination D2D surface object to use when rendering and the annotation objects. The default value is null.

Remarks

The Wpf ImageViewerAutomationControl (in Examples\DotNet3\CS\Leadtools.Annotations.Wpf) object creates an instance of AnnD2DRenderingEngine and uses it to create an automated annotation user interface tied with the LEADTOOLS ImageViewer control.

The property value is set to the context of the custom annotation D2D surface created by ImageViewerAutomationControl.

Requirements

Target Platforms

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

Leadtools.Annotations.Rendering.WinForms Assembly