←Select platform

Context Property

Summary
Gets the destination graphics context object to use when rendering the annotation objects.
Syntax
C#
VB
C++
public Graphics Context { get; } 
Public ReadOnly Property Context As Graphics 
public:  
   property Graphics^ Context 
   { 
      Graphics^ get() 
   } 

Property Value

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

Remarks

The Windows Forms ImageViewerAutomationControl (in Examples\DotNet\CS\Leadtools.Annotations.WinForms) object creates an instance of AnnWinFormsRenderingEngine 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 graphics 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