←Select platform

Context Property (AnnD2DRenderingEngine)

Summary

Gets the destination d2d surface object to use when rendering the annotation objects.

Syntax

C#
VB
WinRT C#
public D2DSurface Context {get;} 
Public ReadOnly Property Context As D2DSurface 
public D2DSurface Context {get;} 
 get_Context();  

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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Rendering.WinForms Assembly